aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-11-02 22:30:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-11-02 22:30:34 +0000
commit4163b86cd2562dbffaea1541b0ec9e7c982a0dda (patch)
tree8799b8fe3b2d3843e520ec91df996961fc522ba4 /lib/urldata.h
parent5b948512f94917feb23baef307e269f6aed115d9 (diff)
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...
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h3
1 files changed, 3 insertions, 0 deletions
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. */
};