From 86f4cead166a2c64d9b4b33432a9ca5ef92d70d8 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 12 Jul 2006 06:14:49 +0000 Subject: [PATCH] sread now returns ssize_t --- tests/server/sockfilt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index 636132615..204026be3 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -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;