From: Daniel Stenberg Date: Thu, 16 Mar 2000 11:41:56 +0000 (+0000) Subject: Added the forgotten http_code! X-Git-Tag: curl-6_5_1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=739b3f241d10cc4e074ab1102c50f319d0378260;p=thirdparty%2Fcurl.git Added the forgotten http_code! --- diff --git a/lib/writeout.c b/lib/writeout.c index e0b3172cde..415d9e2ce9 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;