diff options
Diffstat (limited to 'lib/sendf.h')
-rw-r--r-- | lib/sendf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.h b/lib/sendf.h index 5c1510f89..26af533e4 100644 --- a/lib/sendf.h +++ b/lib/sendf.h @@ -47,7 +47,7 @@ CURLcode Curl_client_write(struct UrlData *data, int type, char *ptr, /* internal read-function, does plain socket, SSL and krb4 */ CURLcode Curl_read(struct connectdata *conn, int sockfd, char *buf, size_t buffersize, - size_t *n); + ssize_t *n); /* internal write-function, does plain socket, SSL and krb4 */ CURLcode Curl_write(struct connectdata *conn, int sockfd, void *mem, size_t len, |