diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-03 06:04:05 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-03 06:04:05 +0000 |
commit | bf173455c851f235ca99869c506e0251166a1aa2 (patch) | |
tree | 3c38c3193243e6ddec7d890936d31fc8a20e838d | |
parent | 813f2034f4a50fd4b84e9ee9f819d816cdd92b6e (diff) | |
download | fetchmail-bf173455c851f235ca99869c506e0251166a1aa2.tar.gz fetchmail-bf173455c851f235ca99869c506e0251166a1aa2.tar.bz2 fetchmail-bf173455c851f235ca99869c506e0251166a1aa2.zip |
Fix bad sprintf calls.
svn path=/trunk/; revision=1277
-rw-r--r-- | driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |