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 e0b3172..415d9e2 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;