aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-08-12 17:10:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-08-12 17:10:50 +0000
commit812674cd4c199bf2741eda63e9cd27b3aba7033c (patch)
treea35b942efdb6d35dbaa62287cd2e407e3b6be75a
parent40e688881e972a5ca888ee2223a5b85a8a3ac6e9 (diff)
downloadfetchmail-812674cd4c199bf2741eda63e9cd27b3aba7033c.tar.gz
fetchmail-812674cd4c199bf2741eda63e9cd27b3aba7033c.tar.bz2
fetchmail-812674cd4c199bf2741eda63e9cd27b3aba7033c.zip
Fix dor non-Linux systems.
svn path=/trunk/; revision=1266
-rw-r--r--NEWS3
-rw-r--r--driver.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index eba5ef43..31aa5d33 100644
--- a/NEWS
+++ b/NEWS
@@ -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.
diff --git a/driver.c b/driver.c
index 4816ee34..8e622f7e 100644
--- a/driver.c
+++ b/driver.c
@@ -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)