aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-01-31 13:54:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-01-31 13:54:12 +0000
commitc41c5a0ef236f1eb1a973eeb25f47e848c9e68db (patch)
tree319694e18aded30c73897fb4b776311f54c807a5 /lib/http.c
parentc0c0283356f288ba98e374964231007f623e84cd (diff)
curl_read() and Curl_read() now have ssize_t in the last argument
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 41e5e87bf..9fe056c5f 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -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;