aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-09 11:57:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-09 11:57:06 +0000
commit3c3ad134eafd7b8970400be505771f95cd76ae33 (patch)
tree61e54b2bef7e6a41eb98782a686ae95e7f3af816 /lib
parenta4ffcfd4d52b01cacd8eea78d8d9b9f2fe353738 (diff)
the default debugfunction shows incoming headers as well
Diffstat (limited to 'lib')
-rw-r--r--lib/sendf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 12721fa26..2898c86ce 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -408,6 +408,7 @@ int Curl_debug(struct SessionHandle *data, curl_infotype type,
switch(type) {
case CURLINFO_TEXT:
case CURLINFO_HEADER_OUT:
+ case CURLINFO_HEADER_IN:
fwrite(s_infotype[type], 2, 1, data->set.err);
fwrite(ptr, size, 1, data->set.err);
break;