diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-12-11 13:13:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-12-11 13:13:01 +0000 |
commit | e1922617883d5a70a282ed0e9e756a27eeed6bba (patch) | |
tree | 683c013a51c154a488189b6547fe783aba5c3e29 /lib/sendf.c | |
parent | c63ca99c1c99cff46b1184356d2639dddf3551c6 (diff) | |
download | curl-e1922617883d5a70a282ed0e9e756a27eeed6bba.tar.gz |
failf() calls should not have newlines in the message string!
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 5 |
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, ...) { |