1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Curl_read() uses ssize_t now

This commit is contained in:
Daniel Stenberg 2001-01-31 15:06:56 +00:00
parent a14aaaf23f
commit 9464c5430d

View File

@ -109,7 +109,7 @@
CURLcode static
_Transfer(struct connectdata *c_conn)
{
size_t nread; /* number of bytes read */
ssize_t nread; /* number of bytes read */
int bytecount = 0; /* total number of bytes read */
int writebytecount = 0; /* number of bytes written */
long contentlength=0; /* size of incoming data */