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...
This commit is contained in:
Daniel Stenberg
2001-11-02 22:30:34 +00:00
parent 5b948512f9
commit 4163b86cd2
3 changed files with 8 additions and 2 deletions

View File

@@ -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. */
};