mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
tool_cb_wrt.c: disambiguate warning message
This commit is contained in:
parent
7fe9a50ab5
commit
5b57c54416
@ -57,7 +57,7 @@ size_t tool_write_cb(void *buffer, size_t sz, size_t nmemb, void *userdata)
|
|||||||
#ifdef DEBUGBUILD
|
#ifdef DEBUGBUILD
|
||||||
if(config->include_headers) {
|
if(config->include_headers) {
|
||||||
if(sz * nmemb > (size_t)CURL_MAX_HTTP_HEADER) {
|
if(sz * nmemb > (size_t)CURL_MAX_HTTP_HEADER) {
|
||||||
warnf(config, "Data size exceeds single call write limit!\n");
|
warnf(config, "Header data size exceeds single call write limit!\n");
|
||||||
return failure;
|
return failure;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user