Regression introduced in 7.61.0
Reported-by: Thomas Klausner
Fixes #2783
Closes #2813
(protocol & (CURLPROTO_HTTPS|CURLPROTO_HTTP))) {
const char *p = str + 20;
- if(!outs->stream && !tool_create_output_file(outs, FALSE))
- return failure;
-
/* look for the 'filename=' parameter
(encoded filenames (*=) are not supported) */
for(;;) {
}
break;
}
+ if(!outs->stream && !tool_create_output_file(outs, FALSE))
+ return failure;
}
if(hdrcbdata->config->show_headers &&