From 2ed8dc12cd5ffbbff9cd25e928a720be3596f2af Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 10 Nov 2004 19:57:47 +0000 Subject: Clean up the horrible HAVE_[V]SNPRINTF mess, use Trio on systems that lack real snprintf or vsnprintf. svn path=/trunk/; revision=3996 --- cram.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cram.c') diff --git a/cram.c b/cram.c index e17b7147..548b542b 100644 --- a/cram.c +++ b/cram.c @@ -114,11 +114,7 @@ int do_cram_md5 (int sock, char *command, struct query *ctl, char *strip) 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