X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e7c67065c060d500eba8d073da9568db2c658aad..ab3d6c6025162c19c082602aa1e488f22e40d392:/socket.c diff --git a/socket.c b/socket.c index 5ef0457a..fd8b1b2e 100644 --- a/socket.c +++ b/socket.c @@ -28,6 +28,7 @@ #include "rsync.h" #include #include +#include extern char *bind_address; extern int default_af_hint; @@ -94,7 +95,7 @@ static int establish_proxy_connection(int fd, char *host, int port, buffer); return -1; } - for (cp = &buffer[5]; isdigit(*(uchar*)cp) || *cp == '.'; cp++) {} + for (cp = &buffer[5]; isDigit(cp) || *cp == '.'; cp++) {} while (*cp == ' ') cp++; if (*cp != '2') {