From 739b3f241d10cc4e074ab1102c50f319d0378260 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 16 Mar 2000 11:41:56 +0000 Subject: Added the forgotten http_code! --- lib/writeout.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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; -- cgit v1.2.3