aboutsummaryrefslogtreecommitdiffstats
path: root/cram.c
diff options
context:
space:
mode:
Diffstat (limited to 'cram.c')
-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);