aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-13 07:12:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-13 07:12:40 +0000
commite7d9ea8919a519271feb6a3fa522dbed56bda880 (patch)
tree270dfaff516a1eb6440d51c6b41e5f4699b92c35 /lib
parent372b141d5b062fdf020104e1bad68b37e6508122 (diff)
Greg Hewgill found out 'contentlength' wasn't big enough to hold a large file!
Diffstat (limited to 'lib')
-rw-r--r--lib/transfer.c2
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 */