X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=config.c;h=1596c2f1d97d3ccbde0acdd37c7a6e1c5cfcd944;hb=8da4fa506389910599c59b87ba1b799efd6d3ae1;hp=5d0193440fd31aadc58bac1d9832c2b7a88085e1;hpb=0348f570771a0412609de947778cad9d5b3dca93;p=PuTTY.git diff --git a/config.c b/config.c index 5d019344..1596c2f1 100644 --- a/config.c +++ b/config.c @@ -1146,7 +1146,7 @@ static void portfwd_handler(union control *ctrl, void *dlg, } if (*type != 'D') { val = dlg_editbox_get(pfd->destbox, dlg); - if (!*val || !strchr(val, ':')) { + if (!*val || !host_strchr(val, ':')) { dlg_error_msg(dlg, "You need to specify a destination address\n" "in the form \"host.name:port\"");