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

@@ -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,