X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=88f7a96fd1a39ea98bee2aa19fd3e3760aa6730e;hp=3e4d7cc6076c2f96dbb6b84d894994a5546d4067;hb=81409cb9c8eb3b6d22fdbf31708ebcab6cfa0ea2;hpb=0e6f1c2dacb7027247518eb52ab53c92c6d8c467 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; }