diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-11-29 08:12:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-11-29 08:12:20 +0000 |
commit | e90d5280260808a164c1c59677fa884fcba60c9c (patch) | |
tree | c1526f39f10149047ba1f1ddd671b98e7c87ce5a /lib/formdata.c | |
parent | d64dd779931482c614c7cb71d8f9ad81f2417479 (diff) |
let the Curl_FormReader() return 0 when it reaches end of data to that the
chunked transfer work
Diffstat (limited to 'lib/formdata.c')
-rw-r--r-- | lib/formdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/formdata.c b/lib/formdata.c index 1b15e8102..0015a6203 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -1319,7 +1319,7 @@ int Curl_FormReader(char *buffer, wantedsize = size * nitems; if(!form->data) - return -1; /* nothing, error, empty */ + return 0; /* nothing, error, empty */ do { |