diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-12-22 14:17:12 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-12-22 14:21:17 +0100 |
commit | d9166028e5637ff08e8ec754926eaef93fee1fc4 (patch) | |
tree | a790db4c5e3dc681c9babe2cf86663930dad3d1a /src | |
parent | 6dae79882405d9a7a2e7641649fbcc20b39a2a1a (diff) | |
download | curl-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.c | 2 |
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; } |