Got rid of type-casting into isFOO() and toFOO() functions by
[rsync/rsync.git] / socket.c
index dd7428e..fd8b1b2 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -95,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') {