diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | driver.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -12,6 +12,9 @@ Release Notes: ------------------------------------------------------------------------------ +fetchmail-4.1.1 () +* Fix an obvious bug in some snprintf calls (non-Linux systems only) + fetchmail-4.1.0 (Mon Aug 11 17:19:57 EDT 1997) * Make the RPM depend on `smtpdaemon', which the sendmail package provides. * Clean up the Interactive UNIX System V/386 Release 3.2 port. @@ -993,7 +993,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, ); + sprintf(addr, "%s@%s", idp->id, idp->id,fetchmailhost); #endif /* HAVE_SNPRINTF */ if (SMTP_rcpt(ctl->smtp_socket, addr) == SM_OK) @@ -1011,7 +1011,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, ); + sprintf(addr, "%s@%s", idp->id, idp->id,fetchmailhost); #endif /* HAVE_SNPRINTF */ if (SMTP_rcpt(ctl->smtp_socket, user) != SM_OK) |