Greg Hewgill found out 'contentlength' wasn't big enough to hold a large file!
This commit is contained in:
parent
372b141d5b
commit
e7d9ea8919
@ -213,7 +213,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
||||
|
||||
fd_set *readfdp = k->readfdp;
|
||||
fd_set *writefdp = k->writefdp;
|
||||
long contentlength;
|
||||
curl_off_t contentlength;
|
||||
|
||||
if((k->keepon & KEEP_READ) && !readfdp) {
|
||||
/* reading is requested, but no socket descriptor pointer was set */
|
||||
|
Loading…
Reference in New Issue
Block a user