aboutsummaryrefslogtreecommitdiffstats
path: root/gssapi.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-08-20 10:45:10 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-08-20 10:55:06 +0200
commit19dc52bcc681165a99e50c6b4d68af2f88d1645c (patch)
treee6b90264e6d6bf9f29f39466c394fa950121938b /gssapi.c
parent97e4995d6d2753f90dc4cb95ad6c7f808e706c07 (diff)
downloadfetchmail-19dc52bcc681165a99e50c6b4d68af2f88d1645c.tar.gz
fetchmail-19dc52bcc681165a99e50c6b4d68af2f88d1645c.tar.bz2
fetchmail-19dc52bcc681165a99e50c6b4d68af2f88d1645c.zip
Format string fix: use %s for gen_send/gen_transact.
Diffstat (limited to 'gssapi.c')
-rw-r--r--gssapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gssapi.c b/gssapi.c
index 37c5a6af..1784de55 100644
--- a/gssapi.c
+++ b/gssapi.c
@@ -117,7 +117,7 @@ int do_gssauth(int sock, const char *command, const char *service,
gss_release_buffer(&min_stat, &send_token);
suppress_tags = TRUE;
- gen_send(sock, buf1, strlen(buf1));
+ gen_send(sock, "%s", buf1);
suppress_tags = FALSE;
if (maj_stat == GSS_S_CONTINUE_NEEDED) {
@@ -190,7 +190,7 @@ int do_gssauth(int sock, const char *command, const char *service,
to64frombits(buf1, send_token.value, send_token.length);
suppress_tags = TRUE;
- result = gen_transact(sock, buf1, strlen(buf1));
+ result = gen_transact(sock, "%s", buf1);
suppress_tags = FALSE;
/* flush security context */