From 4163b86cd2562dbffaea1541b0ec9e7c982a0dda Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 2 Nov 2001 22:30:34 +0000 Subject: failf() now only overwrites the error buffer the first time it gets called for each *_perform(). It makes things a lot easier, as the first one that detects the error get to write the final error reason... --- lib/urldata.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 1ccead519..a8f1ebe78 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -446,6 +446,9 @@ struct UrlState { long sessionage; /* number of the most recent session */ char scratch[BUFSIZE*2]; /* huge buffer when doing upload CRLF replacing */ + bool errorbuf; /* Set to TRUE if the error buffer is already filled in. + This must be set to FALSE every time _easy_perform() is + called. */ }; -- cgit v1.2.3