1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Remove old reference to opt.post_data.

This commit is contained in:
Gijs van Tulder 2013-04-21 22:36:50 +02:00 committed by Giuseppe Scrivano
parent 0e6f1c2dac
commit 81409cb9c8
2 changed files with 6 additions and 1 deletions

View 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> 2013-04-12 Gijs van Tulder <gvtulder@gmail.com>
* warc.c: Generate unique UUIDs for the manifest and the record * warc.c: Generate unique UUIDs for the manifest and the record

View File

@ -2150,7 +2150,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy,
warc_payload_offset = ftello (warc_tmp); warc_payload_offset = ftello (warc_tmp);
/* Write a copy of the data to the WARC record. */ /* 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) if (warc_tmp_written != body_data_size)
write_error = -2; write_error = -2;
} }