summaryrefslogtreecommitdiff
path: root/lib/socks_gssapi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-12-23 23:41:13 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-25 23:42:16 +0100
commitaba01da6390894c9e7ebb6691da544bc01b6324d (patch)
treecccdc610b043e065e479eefb53a72893d0e06e64 /lib/socks_gssapi.c
parent78617b48e46e5934d94c155e0b4565978341bfe6 (diff)
downloadcurl-aba01da6390894c9e7ebb6691da544bc01b6324d.tar.gz
failf: remove newline from formatting strings
... as failf adds one itself. Also: add an assert() to failf() that triggers on a newline in the format string! Closes #6365
Diffstat (limited to 'lib/socks_gssapi.c')
-rw-r--r--lib/socks_gssapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
index a96579692..9d37b9bd9 100644
--- a/lib/socks_gssapi.c
+++ b/lib/socks_gssapi.c
@@ -92,7 +92,7 @@ static int check_gss_err(struct Curl_easy *data,
}
gss_release_buffer(&min_stat, &status_string);
}
- failf(data, "GSS-API error: %s failed:\n%s", function, buf);
+ failf(data, "GSS-API error: %s failed: %s", function, buf);
return 1;
}