aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-16 15:27:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-16 15:27:49 +0000
commitdca8f962e07365fcd87f527da32476c157db109b (patch)
treebabafd540affd97ddbb2fd840d873fef9f242e4e
parent059b57677c14ac832249193042f0cf61e9c15ff2 (diff)
maxdownload is actually -1 for unlimited
-rw-r--r--lib/urldata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index c6d861621..ad6161dfa 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -656,7 +656,7 @@ struct HandleData {
curl_off_t size; /* -1 if unknown at this point */
curl_off_t *bytecountp; /* return number of bytes read or NULL */
- curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, 0
+ curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, -1
means unlimited */
curl_off_t *writebytecountp; /* return number of bytes written or NULL */