]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
sread now returns ssize_t
authorYang Tse <yangsita@gmail.com>
Wed, 12 Jul 2006 06:14:49 +0000 (06:14 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 12 Jul 2006 06:14:49 +0000 (06:14 +0000)
tests/server/sockfilt.c

index 636132615594ef1faac13305998fde1c0e3e1f16..204026be3328f41016bcfad2d9741bdd623c6a80 100644 (file)
@@ -169,7 +169,7 @@ static int juggle(curl_socket_t *sockfdp,
   fd_set fds_write;
   fd_set fds_err;
   curl_socket_t maxfd;
-  int r;
+  ssize_t r;
   unsigned char buffer[256]; /* FIX: bigger buffer */
   char data[256];
   curl_socket_t sockfd;