Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Patch for http-fetch.c and older curl releases

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:41

"Art Haas" [off-list ref] writes:
quoted
Eh, why not

        #ifndef CURLE_HTTP_RETURNED_ERROR
        #define CURLE_HTTP_RETURNED_ERROR CURLE_HTTP_NOT_FOUND
        #endif
Hi.

Both 'CURLE_HTTP_RETURNED_ERROR' and 'CURLE_HTTP_NOT_FOUND' are part of
an enumeration, not preprocessor '#define' values. I suppose that the
odd-looking 'E' in the names is meant to signify 'enum'.
Ah, sorry I misunderstood the original problem completely.
Then your original patch is _much_ better.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help