mirror of
https://github.com/curl/curl.git
synced 2026-07-30 10:48:39 +03:00
tool_cfgable: make 'synthetic_error' a plain bool
The specific reason was not used. Closes #9179
This commit is contained in:
parent
3f533a7977
commit
2b0ddb657c
2 changed files with 2 additions and 9 deletions
|
|
@ -234,7 +234,7 @@ size_t tool_write_cb(char *buffer, size_t sz, size_t nmemb, void *userdata)
|
|||
warnf(config->global, "Binary output can mess up your terminal. "
|
||||
"Use \"--output -\" to tell curl to output it to your terminal "
|
||||
"anyway, or consider \"--output <FILE>\" to save to a file.\n");
|
||||
config->synthetic_error = ERR_BINARY_TERMINAL;
|
||||
config->synthetic_error = TRUE;
|
||||
return failure;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue