From 886e698c78b233494172660918a6d0d0e95ffa72 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 15 Jun 1999 14:19:44 +0000 Subject: Add a HAVE_SNPRINTF. svn path=/trunk/; revision=2504 --- imap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'imap.c') 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], -- cgit v1.2.3