curl_read() and Curl_read() now have ssize_t in the last argument

This commit is contained in:
Daniel Stenberg
2001-01-31 13:54:12 +00:00
parent c0c0283356
commit c41c5a0ef2
7 changed files with 19 additions and 8 deletions

View File

@@ -214,7 +214,7 @@ CURLcode add_buffer(send_buffer *in, void *inptr, size_t size)
static
int GetLine(int sockfd, char *buf, struct connectdata *conn)
{
size_t nread;
ssize_t nread;
int read_rc=1;
char *ptr;
struct UrlData *data=conn->data;