[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] WARC, new version

From: Gijs van Tulder
Subject: Re: [Bug-wget] WARC, new version
Date: Sun, 30 Oct 2011 18:18:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

Hi Giuseppe,

* I've changed the configure.ac and src/Makefile.am.
* I've added a ChangeLog entry.

See the new version of the patch. I've also attached a patch with just the changes in these three files.

>>     if (hs->res>= 0)
>>       CLOSE_FINISH (sock);
>>     else
>> -    {
>> -      if (hs->res<  0)
>> -        hs->rderrmsg = xstrdup (fd_errstr (sock));
>> -      CLOSE_INVALIDATE (sock);
>> -    }
>> +    CLOSE_INVALIDATE (sock);
> Why?

Because I moved the hs->rderrmsg line to the new read_response_body method, which is called a few lines before. When it gets here, hs->rderrmsg will already contain the error message.



Attachment: wget-warc-patch-20111030.patch
Description: Text Data

Attachment: wget-warc-patch-20111030-since-20111023.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]