1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

let the Curl_FormReader() return 0 when it reaches end of data to that the

chunked transfer work
This commit is contained in:
Daniel Stenberg 2002-11-29 08:12:20 +00:00
parent d64dd77993
commit e90d528026

View File

@ -1319,7 +1319,7 @@ int Curl_FormReader(char *buffer,
wantedsize = size * nitems; wantedsize = size * nitems;
if(!form->data) if(!form->data)
return -1; /* nothing, error, empty */ return 0; /* nothing, error, empty */
do { do {