curl: show size of inhibited data when using -v

To offer some more info and yet it doesn't use more lines.
This commit is contained in:
Daniel Stenberg 2014-12-22 14:17:12 +01:00
parent 6dae798824
commit d9166028e5
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ int tool_debug_cb(CURL *handle, curl_infotype type,
if(!config->isatty || ((output != stderr) && (output != stdout))) {
if(!newl)
fprintf(output, "%s%s ", timebuf, s_infotype[type]);
fprintf(output, "[data not shown]\n");
fprintf(output, "[%zd bytes data]\n", size);
newl = FALSE;
traced_data = TRUE;
}