aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-04 13:50:15 +0000
committerMatthias Andree <matthias.andree@gmx.de>2010-02-04 13:50:15 +0000
commit88b314909859b90a8b957e1c2975cb32e7e53375 (patch)
treec806050c60d8409563ff918b1c307a3e3416655e
parentc6b689d9de355ac7273bfefe57f62f84f5780a98 (diff)
downloadfetchmail-88b314909859b90a8b957e1c2975cb32e7e53375.tar.gz
fetchmail-88b314909859b90a8b957e1c2975cb32e7e53375.tar.bz2
fetchmail-88b314909859b90a8b957e1c2975cb32e7e53375.zip
Fix harmless format string bug (Sunil Shetye).
svn path=/branches/BRANCH_6-3/; revision=5473
-rw-r--r--cram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cram.c b/cram.c
index c29d51af..ee97475a 100644
--- a/cram.c
+++ b/cram.c
@@ -127,7 +127,7 @@ int do_cram_md5 (int sock, char *command, struct query *ctl, char *strip)
/* ship the authentication back, accept the server's responses */
/* PMDF5.2 IMAP has a bug that requires this to be a single write */
suppress_tags = TRUE;
- result = gen_transact(sock, buf1, sizeof(buf1));
+ result = gen_transact(sock, "%s", buf1);
suppress_tags = FALSE;
if (result)
return(result);