summaryrefslogtreecommitdiff
path: root/lib/socks_gssapi.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-14 13:32:05 +0200
committerYang Tse <yangsita@gmail.com>2012-06-14 13:32:05 +0200
commit6085ca2aeddb38e4d5f24c47bd98111b236cf384 (patch)
tree7b4577a279969ef44ed811738ef80723367ca508 /lib/socks_gssapi.c
parenta8259945c4086445022b658f023bc712d1fc9c9d (diff)
downloadcurl-6085ca2aeddb38e4d5f24c47bd98111b236cf384.tar.gz
Fix bad failf() and info() usage
Calls to failf() are not supposed to provide trailing newline. Calls to infof() must provide trailing newline. Fixed 30 or so strings.
Diffstat (limited to 'lib/socks_gssapi.c')
-rw-r--r--lib/socks_gssapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
index d23a944d7..02dd485f1 100644
--- a/lib/socks_gssapi.c
+++ b/lib/socks_gssapi.c
@@ -6,6 +6,7 @@
* \___|\___/|_| \_\_____|
*
* Copyright (C) 2009, 2011, Markus Moeller, <markus_moeller@compuserve.com>
+ * Copyright (C) 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -102,7 +103,7 @@ static int check_gss_err(struct SessionHandle *data,
}
gss_release_buffer(&min_stat, &status_string);
}
- failf(data, "GSSAPI error: %s failed:\n%s\n", function, buf);
+ failf(data, "GSSAPI error: %s failed:\n%s", function, buf);
return(1);
}