]> granicus.if.org Git - curl/commitdiff
the default debugfunction shows incoming headers as well
authorDaniel Stenberg <daniel@haxx.se>
Wed, 9 Apr 2003 11:57:06 +0000 (11:57 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 9 Apr 2003 11:57:06 +0000 (11:57 +0000)
lib/sendf.c

index 12721fa2655cb56ccd928b0ea1ea232a119f25ee..2898c86ce7e2416e218ac043260c459e7c2aaadc 100644 (file)
@@ -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;