mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:43:41 +03:00
tool_writeout: add new writeout variable, %{num_headers}
This variable gives the number of headers. Closes #5947
This commit is contained in:
parent
4e66207c58
commit
0c1e767e83
14 changed files with 191 additions and 23 deletions
|
|
@ -622,7 +622,7 @@ static CURLcode post_per_transfer(struct GlobalConfig *global,
|
|||
fputs("\n", per->progressbar.out);
|
||||
|
||||
if(config->writeout)
|
||||
ourWriteOut(per->curl, &per->outs, config->writeout);
|
||||
ourWriteOut(per->curl, per, config->writeout);
|
||||
|
||||
/* Close the outs file */
|
||||
if(outs->fopened && outs->stream) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue