aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.h
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/sendf.h
parentc0c0283356f288ba98e374964231007f623e84cd (diff)
curl_read() and Curl_read() now have ssize_t in the last argument
Diffstat (limited to 'lib/sendf.h')
-rw-r--r--lib/sendf.h2
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,