aboutsummaryrefslogtreecommitdiff
path: root/lib/security.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/security.c
parentc63ca99c1c99cff46b1184356d2639dddf3551c6 (diff)
failf() calls should not have newlines in the message string!
Diffstat (limited to 'lib/security.c')
-rw-r--r--lib/security.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/security.c b/lib/security.c
index 2a92d0bc9..1be54c8b8 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -362,11 +362,11 @@ Curl_sec_vfprintf(struct connectdata *conn, FILE *f, const char *fmt, va_list ap
conn);
free(buf);
if(len < 0) {
- failf(conn->data, "Failed to encode command.\n");
+ failf(conn->data, "Failed to encode command.");
return -1;
}
if(Curl_base64_encode(enc, len, &buf) < 0){
- failf(conn->data, "Out of memory base64-encoding.\n");
+ failf(conn->data, "Out of memory base64-encoding.");
return -1;
}
if(conn->command_prot == prot_safe)
@@ -421,7 +421,7 @@ sec_prot_internal(struct connectdata *conn, int level)
return -1;
if(conn->data->state.buffer[0] != '2'){
- failf(conn->data, "Failed to set protection buffer size.\n");
+ failf(conn->data, "Failed to set protection buffer size.");
return -1;
}
conn->buffer_size = s;
@@ -441,7 +441,7 @@ sec_prot_internal(struct connectdata *conn, int level)
return -1;
if(conn->data->state.buffer[0] != '2'){
- failf(conn->data, "Failed to set protection level.\n");
+ failf(conn->data, "Failed to set protection level.");
return -1;
}