summaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-12-11 13:13:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-12-11 13:13:01 +0000
commite1922617883d5a70a282ed0e9e756a27eeed6bba (patch)
tree683c013a51c154a488189b6547fe783aba5c3e29 /lib/sendf.c
parentc63ca99c1c99cff46b1184356d2639dddf3551c6 (diff)
downloadcurl-e1922617883d5a70a282ed0e9e756a27eeed6bba.tar.gz
failf() calls should not have newlines in the message string!
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 2a0aa78c3..ae4ce6737 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -137,8 +137,9 @@ void Curl_infof(struct SessionHandle *data, const char *fmt, ...)
}
}
-/* Curl_failf() is for messages stating why we failed, the LAST one will be
- returned for the user (if requested) */
+/* Curl_failf() is for messages stating why we failed.
+ * The message SHALL NOT include any LF or CR.
+ */
void Curl_failf(struct SessionHandle *data, const char *fmt, ...)
{