1
0
mirror of https://github.com/moparisthebest/curl synced 2024-10-31 15:45:12 -04:00

sread now returns ssize_t

This commit is contained in:
Yang Tse 2006-07-12 06:14:49 +00:00
parent 88a1a10e6f
commit 86f4cead16

View 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;