From: Gijs van Tulder Date: Sun, 21 Apr 2013 20:36:50 +0000 (+0200) Subject: Remove old reference to opt.post_data. X-Git-Tag: v1.15~64 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=81409cb9c8eb3b6d22fdbf31708ebcab6cfa0ea2 Remove old reference to opt.post_data. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8a60e5dc..64fc6342 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-04-21 Gijs van Tulder + + * http.c: Copy opt.body_data to the WARC file, instead of + opt.post_data (the old option). + 2013-04-12 Gijs van Tulder * warc.c: Generate unique UUIDs for the manifest and the record diff --git a/src/http.c b/src/http.c index 3e4d7cc6..88f7a96f 100644 --- a/src/http.c +++ b/src/http.c @@ -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; }