Hi,

I have a question about the code around the writeHeaders() function.

Around file discache.c line #1768
   rc = writeHeaders(entry->fd, &entry->body_offset, object, NULL, 0);
    if(rc == -2) {
        rc = rewriteEntry(object);
        if(rc < 0) return 0;
        return 1;
    }

As far as I can see, the writeHeaders() would not return a -2, it can only
return -1 or something positive. Can someone explain what error the code is
trying to catch.

Thanks for any insight,

Ming
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to