summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-12-22 14:17:12 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-12-22 14:21:17 +0100
commitd9166028e5637ff08e8ec754926eaef93fee1fc4 (patch)
treea790db4c5e3dc681c9babe2cf86663930dad3d1a /src
parent6dae79882405d9a7a2e7641649fbcc20b39a2a1a (diff)
downloadcurl-d9166028e5637ff08e8ec754926eaef93fee1fc4.tar.gz
curl: show size of inhibited data when using -v
To offer some more info and yet it doesn't use more lines.
Diffstat (limited to 'src')
-rw-r--r--src/tool_cb_dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_cb_dbg.c b/src/tool_cb_dbg.c
index 010dae3b9..4add67c55 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;
}