tool_cb_wrt.c: disambiguate warning message

This commit is contained in:
Yang Tse 2011-11-03 23:26:38 +01:00
parent 7fe9a50ab5
commit 5b57c54416
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}