Skip to content
Snippets Groups Projects
Commit 5b57c544 authored by Yang Tse's avatar Yang Tse
Browse files

tool_cb_wrt.c: disambiguate warning message

parent 7fe9a50a
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ size_t tool_write_cb(void *buffer, size_t sz, size_t nmemb, void *userdata)
#ifdef DEBUGBUILD
if(config->include_headers) {
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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment