From 88b314909859b90a8b957e1c2975cb32e7e53375 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 4 Feb 2010 13:50:15 +0000 Subject: Fix harmless format string bug (Sunil Shetye). svn path=/branches/BRANCH_6-3/; revision=5473 --- cram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cram.c') 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); -- cgit v1.2.3