From bf173455c851f235ca99869c506e0251166a1aa2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Sep 1997 06:04:05 +0000 Subject: Fix bad sprintf calls. svn path=/trunk/; revision=1277 --- driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver.c b/driver.c index 3113513c..deef06fa 100644 --- a/driver.c +++ b/driver.c @@ -1007,7 +1007,7 @@ int num; /* index of message */ #ifdef HAVE_SNPRINTF snprintf(addr, sizeof(addr)-1, "%s@%s", idp->id,fetchmailhost); #else - sprintf(addr, "%s@%s", idp->id, idp->id,fetchmailhost); + sprintf(addr, "%s@%s", idp->id, fetchmailhost); #endif /* HAVE_SNPRINTF */ if (SMTP_rcpt(ctl->smtp_socket, addr) == SM_OK) @@ -1025,7 +1025,7 @@ int num; /* index of message */ #ifdef HAVE_SNPRINTF snprintf(addr, sizeof(addr)-1, "%s@%s", idp->id, fetchmailhost); #else - sprintf(addr, "%s@%s", idp->id, idp->id,fetchmailhost); + sprintf(addr, "%s@%s", idp->id, fetchmailhost); #endif /* HAVE_SNPRINTF */ if (SMTP_rcpt(ctl->smtp_socket, user) != SM_OK) -- cgit v1.2.3