mirror of
https://github.com/curl/curl.git
synced 2026-08-26 16:23:32 +03:00
tool: remove exclamation marks from error/warning messages
This commit is contained in:
parent
741f7ed4bc
commit
6661bd588d
7 changed files with 22 additions and 23 deletions
|
|
@ -62,7 +62,7 @@ bool tool_create_output_file(struct OutStruct *outs,
|
|||
DEBUGASSERT(config);
|
||||
global = config->global;
|
||||
if(!fname || !*fname) {
|
||||
warnf(global, "Remote filename has no length!");
|
||||
warnf(global, "Remote filename has no length");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
@ -176,13 +176,13 @@ size_t tool_write_cb(char *buffer, size_t sz, size_t nmemb, void *userdata)
|
|||
if(config->show_headers) {
|
||||
if(bytes > (size_t)CURL_MAX_HTTP_HEADER) {
|
||||
warnf(config->global, "Header data size exceeds single call write "
|
||||
"limit!");
|
||||
"limit");
|
||||
return CURL_WRITEFUNC_ERROR;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(bytes > (size_t)CURL_MAX_WRITE_SIZE) {
|
||||
warnf(config->global, "Data size exceeds single call write limit!");
|
||||
warnf(config->global, "Data size exceeds single call write limit");
|
||||
return CURL_WRITEFUNC_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue