diff options
author | Martin Pool <mbp@samba.org> | 2002-01-24 05:57:49 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-01-24 05:57:49 +0000 |
commit | 00d943d513e9fb5863f2247f19340e0b7f476041 (patch) | |
tree | 21e2a17fdbcb52afc6b52b3d9b3bab9e07d416a7 /socket.c | |
parent | 71c780da06b839598694f0bc8e2c3ccae4b29479 (diff) | |
download | rsync-00d943d513e9fb5863f2247f19340e0b7f476041.tar.gz |
Another size_t warning
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ static int establish_proxy_connection(int fd, char *host, int port) char *cp; snprintf(buffer, sizeof(buffer), "CONNECT %s:%d HTTP/1.0\r\n\r\n", host, port); - if (write(fd, buffer, strlen(buffer)) != strlen(buffer)) { + if (write(fd, buffer, strlen(buffer)) != (int) strlen(buffer)) { rprintf(FERROR, "failed to write to proxy: %s\n", strerror(errno)); return -1; |