From 2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 9 Nov 2006 02:39:29 +0000 Subject: Got rid of type-casting into isFOO() and toFOO() functions by using static inline functions that take a signed char pointer. --- socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'socket.c') diff --git a/socket.c b/socket.c index dd7428e2..fd8b1b2e 100644 --- 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') { -- cgit v1.2.3