summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-11-09 02:39:29 +0000
committerWayne Davison <wayned@samba.org>2006-11-09 02:39:29 +0000
commit2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8 (patch)
tree9d7c2bdec0e7a57c0928a3656b8353b1f113d949 /socket.c
parente0930845ce339fc51f607ba19bc40a8685118b91 (diff)
downloadrsync-2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8.tar.gz
Got rid of type-casting into isFOO() and toFOO() functions by
using static inline functions that take a signed char pointer.
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
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') {