From 260f2e066cce79f5a71b2e9d601cc914e803277b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 5 Sep 1997 19:04:32 +0000 Subject: Try to get better connection-failure messages. svn path=/trunk/; revision=1309 --- driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3