]> sjero.net Git - wget/commitdiff
Remove old reference to opt.post_data.
authorGijs van Tulder <gvtulder@gmail.com>
Sun, 21 Apr 2013 20:36:50 +0000 (22:36 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Tue, 23 Apr 2013 20:02:29 +0000 (22:02 +0200)
src/ChangeLog
src/http.c

index 8a60e5dce9f4de8c410faa1fde6498bc6917be05..64fc6342a18b9f523b49857a7ca82353aa858ac2 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-21  Gijs van Tulder  <gvtulder@gmail.com>
+
+       * http.c: Copy opt.body_data to the WARC file, instead of
+       opt.post_data (the old option).
+
 2013-04-12  Gijs van Tulder  <gvtulder@gmail.com>
 
        * warc.c: Generate unique UUIDs for the manifest and the record
index 3e4d7cc6076c2f96dbb6b84d894994a5546d4067..88f7a96fd1a39ea98bee2aa19fd3e3760aa6730e 100644 (file)
@@ -2150,7 +2150,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy,
               warc_payload_offset = ftello (warc_tmp);
 
               /* Write a copy of the data to the WARC record. */
-              int warc_tmp_written = fwrite (opt.post_data, 1, body_data_size, warc_tmp);
+              int warc_tmp_written = fwrite (opt.body_data, 1, body_data_size, warc_tmp);
               if (warc_tmp_written != body_data_size)
                 write_error = -2;
             }