]> granicus.if.org Git - curl/commitdiff
Juan F. Codagnone pointed out a missing thing from the march 2 fix
authorDaniel Stenberg <daniel@haxx.se>
Sun, 16 Mar 2003 16:15:24 +0000 (16:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 16 Mar 2003 16:15:24 +0000 (16:15 +0000)
lib/http.c

index 876dbac2edd71c2546f1c0b6d5cfc48ababfebb0..850731ce311aa119018930b1006cb0eba41f1c96 100644 (file)
@@ -997,7 +997,8 @@ CURLcode Curl_http(struct connectdata *conn)
       headers = headers->next;
     }
 
-    http->postdata = NULL; /* nothing to post at this point */
+    http->postdata = NULL;  /* nothing to post at this point */
+    Curl_pgrsSetUploadSize(data, 0); /* upload size is 0 atm */
 
     switch(data->set.httpreq) {