diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-08-12 17:10:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-08-12 17:10:50 +0000 |
commit | 812674cd4c199bf2741eda63e9cd27b3aba7033c (patch) | |
tree | a35b942efdb6d35dbaa62287cd2e407e3b6be75a | |
parent | 40e688881e972a5ca888ee2223a5b85a8a3ac6e9 (diff) | |
download | fetchmail-812674cd4c199bf2741eda63e9cd27b3aba7033c.tar.gz fetchmail-812674cd4c199bf2741eda63e9cd27b3aba7033c.tar.bz2 fetchmail-812674cd4c199bf2741eda63e9cd27b3aba7033c.zip |
Fix dor non-Linux systems.
svn path=/trunk/; revision=1266
-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) |