mirror of
https://github.com/curl/curl.git
synced 2026-08-05 10:16:14 +03:00
parent
1753de9d7a
commit
0417d323c9
52 changed files with 490 additions and 543 deletions
|
|
@ -143,8 +143,7 @@ void headerJSON(FILE *stream, struct per_transfer *per)
|
|||
if(++i >= a)
|
||||
break;
|
||||
fputc(',', stream);
|
||||
if(curl_easy_header(per->curl, name, i, CURLH_HEADER,
|
||||
-1, &header))
|
||||
if(curl_easy_header(per->curl, name, i, CURLH_HEADER, -1, &header))
|
||||
break;
|
||||
} while(1);
|
||||
fputc(']', stream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue