diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-08-20 10:45:10 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-08-20 10:55:06 +0200 |
commit | 19dc52bcc681165a99e50c6b4d68af2f88d1645c (patch) | |
tree | e6b90264e6d6bf9f29f39466c394fa950121938b /gssapi.c | |
parent | 97e4995d6d2753f90dc4cb95ad6c7f808e706c07 (diff) | |
download | fetchmail-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |