diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-27 15:30:44 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-27 15:30:44 +0000 |
commit | d66f7cd1467adb824d7a555dd93c01ed4c06b407 (patch) | |
tree | 32572c6d121fbd29225295154d7b237eacbc590e | |
parent | 7159849665ddb6012c23f7be1c111378034479a9 (diff) | |
download | fetchmail-d66f7cd1467adb824d7a555dd93c01ed4c06b407.tar.gz fetchmail-d66f7cd1467adb824d7a555dd93c01ed4c06b407.tar.bz2 fetchmail-d66f7cd1467adb824d7a555dd93c01ed4c06b407.zip |
Try to eliminate some spurious error numbers.
svn path=/trunk/; revision=1423
-rw-r--r-- | driver.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -394,6 +394,8 @@ static int smtp_open(struct query *ctl) */ struct idlist *idp; + errno = 0; + /* run down the SMTP hunt list looking for a server that's up */ for (idp = ctl->smtphunt; idp; idp = idp->next) { @@ -891,9 +893,9 @@ int num; /* index of message */ /* build a connection to the SMTP listener */ if ((smtp_open(ctl) == -1)) { - free_str_list(&xmit_names); error(0, errno, "SMTP connect to %s failed", ctl->smtphost ? ctl->smtphost : "localhost"); + free_str_list(&xmit_names); return(PS_SMTP); } |