]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Added the forgotten http_code!
authorDaniel Stenberg <daniel@haxx.se>
Thu, 16 Mar 2000 11:41:56 +0000 (11:41 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 Mar 2000 11:41:56 +0000 (11:41 +0000)
lib/writeout.c

index e0b3172cde201c53258017fcdd9d73f34cc606b6..415d9e2ce9b5fb17025f0f535b805b4793bfc4c7 100644 (file)
@@ -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;