X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a7dc44d27d019f57d9ce484feb8d1a363464102b..32f761755e2cfee243a1513c9ea9871586463fa6:/socket.c diff --git a/socket.c b/socket.c index 6a13b04a..bb7acc06 100644 --- a/socket.c +++ b/socket.c @@ -70,7 +70,7 @@ static int establish_proxy_connection(int fd, char *host, int port) buffer); return -1; } - for (cp = &buffer[5]; isdigit((int) *cp) || (*cp == '.'); cp++) + for (cp = &buffer[5]; isdigit(* (unsigned char *) cp) || (*cp == '.'); cp++) ; while (*cp == ' ') cp++;