diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-13 07:12:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-13 07:12:40 +0000 |
commit | e7d9ea8919a519271feb6a3fa522dbed56bda880 (patch) | |
tree | 270dfaff516a1eb6440d51c6b41e5f4699b92c35 | |
parent | 372b141d5b062fdf020104e1bad68b37e6508122 (diff) |
Greg Hewgill found out 'contentlength' wasn't big enough to hold a large file!
-rw-r--r-- | lib/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 1c9a474a7..b5fd2fd81 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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 */ |