← Commit list

7b3316984f

Stefan Eissing
Stefan Eissing
2026-06-25
SUCCESS Duration: 221s

Subject

tool: do not flush on out-null

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

src/tool_operate.c+1 -1
@@ -671,7 +671,7 @@ static CURLcode post_output_handling(struct per_transfer *per,
return CURLE_WRITE_ERROR;
}
- if(!outs->regular_file && outs->stream) {
+ if(!outs->regular_file && outs->stream && !outs->out_null) {
/* Dump standard stream buffered data */
rc = fflush(outs->stream);
if(!result && rc) {