aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-05 19:04:32 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-05 19:04:32 +0000
commit260f2e066cce79f5a71b2e9d601cc914e803277b (patch)
tree6e3de306f181f91eff16082a786e3b92ff0dd059
parentbb47357c19cc54ef9144f4ce3858492ccd5c083c (diff)
downloadfetchmail-260f2e066cce79f5a71b2e9d601cc914e803277b.tar.gz
fetchmail-260f2e066cce79f5a71b2e9d601cc914e803277b.tar.bz2
fetchmail-260f2e066cce79f5a71b2e9d601cc914e803277b.zip
Try to get better connection-failure messages.
svn path=/trunk/; revision=1309
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index d6ea0a9e..b290efcd 100644
--- a/driver.c
+++ b/driver.c
@@ -872,7 +872,7 @@ int num; /* index of message */
if ((smtp_open(ctl) == -1))
{
free_str_list(&xmit_names);
- error(0, -1, "SMTP connect to %s failed",
+ error(0, errno, "SMTP connect to %s failed",
ctl->smtphost ? ctl->smtphost : "localhost");
return(PS_SMTP);
}