Greg Hewgill found out 'contentlength' wasn't big enough to hold a large file!

This commit is contained in:
Daniel Stenberg 2004-02-13 07:12:40 +00:00
parent 372b141d5b
commit e7d9ea8919

View File

@ -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 */