aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-03-16 11:41:56 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-03-16 11:41:56 +0000
commit739b3f241d10cc4e074ab1102c50f319d0378260 (patch)
tree111ae89dbce858a77a91a1da2529838c56a97347 /lib
parentd48939c0c06fb9ca7e4df7d4d16c5f8b331c3bcb (diff)
Added the forgotten http_code!
Diffstat (limited to 'lib')
-rw-r--r--lib/writeout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/writeout.c b/lib/writeout.c
index e0b3172cd..415d9e2ce 100644
--- a/lib/writeout.c
+++ b/lib/writeout.c
@@ -102,6 +102,9 @@ void WriteOut(struct UrlData *data)
case VAR_EFFECTIVE_URL:
fprintf(stream, "%s", data->url?data->url:"");
break;
+ case VAR_HTTP_CODE:
+ fprintf(stream, "%03d", data->progress.httpcode);
+ break;
case VAR_TOTAL_TIME:
fprintf(stream, "%.3f", data->progress.timespent);
break;