aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-06-15 14:19:44 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-06-15 14:19:44 +0000
commit886e698c78b233494172660918a6d0d0e95ffa72 (patch)
treefa6b05bf7f741d42cae75eaa223b5b553607c0a3 /imap.c
parentf422fc04a9043842658d43e7baf58e60052b225c (diff)
downloadfetchmail-886e698c78b233494172660918a6d0d0e95ffa72.tar.gz
fetchmail-886e698c78b233494172660918a6d0d0e95ffa72.tar.bz2
fetchmail-886e698c78b233494172660918a6d0d0e95ffa72.zip
Add a HAVE_SNPRINTF.
svn path=/trunk/; revision=2504
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/imap.c b/imap.c
index 31338378..602f504e 100644
--- a/imap.c
+++ b/imap.c
@@ -682,7 +682,11 @@ static int do_cram_md5 (int sock, struct query *ctl)
msg_id, strlen (msg_id),
response, sizeof (response));
+#ifdef HAVE_SNPRINTF
snprintf (reply, sizeof (reply),
+#else
+ sprintf(reply,
+#endif
"%s %02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
ctl->remotename,
response[0], response[1], response[2], response[3],