projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017ec20
)
failf() now sends the text to the debug function callback
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 8 Oct 2002 16:10:37 +0000
(16:10 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 8 Oct 2002 16:10:37 +0000
(16:10 +0000)
lib/sendf.c
patch
|
blob
|
history
diff --git
a/lib/sendf.c
b/lib/sendf.c
index
ecc14f1
..
c4addb5
100644
(file)
--- a/
lib/sendf.c
+++ b/
lib/sendf.c
@@
-153,6
+153,9
@@
void Curl_failf(struct SessionHandle *data, const char *fmt, ...)
if(data->set.errorbuffer && !data->state.errorbuf) {
vsnprintf(data->set.errorbuffer, CURL_ERROR_SIZE, fmt, ap);
data->state.errorbuf = TRUE; /* wrote error string */
+
+ Curl_debug(data, CURLINFO_TEXT, data->set.errorbuffer,
+ strlen(data->set.errorbuffer));
}
va_end(ap);
}