aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-03 06:04:05 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-03 06:04:05 +0000
commitbf173455c851f235ca99869c506e0251166a1aa2 (patch)
tree3c38c3193243e6ddec7d890936d31fc8a20e838d
parent813f2034f4a50fd4b84e9ee9f819d816cdd92b6e (diff)
downloadfetchmail-bf173455c851f235ca99869c506e0251166a1aa2.tar.gz
fetchmail-bf173455c851f235ca99869c506e0251166a1aa2.tar.bz2
fetchmail-bf173455c851f235ca99869c506e0251166a1aa2.zip
Fix bad sprintf calls.
svn path=/trunk/; revision=1277
-rw-r--r--driver.c4
1 files 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)