From d9166028e5637ff08e8ec754926eaef93fee1fc4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 22 Dec 2014 14:17:12 +0100 Subject: [PATCH] curl: show size of inhibited data when using -v To offer some more info and yet it doesn't use more lines. --- src/tool_cb_dbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool_cb_dbg.c b/src/tool_cb_dbg.c index 010dae3b90..4add67c551 100644 --- a/src/tool_cb_dbg.c +++ b/src/tool_cb_dbg.c @@ -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; }