From 52f84c07a2421cfa86243b332636a474c08a4e2b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 6 Mar 2000 20:30:17 +0000 Subject: Better debugging in case of SMTP errors. svn path=/trunk/; revision=2801 --- sink.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sink.c b/sink.c index 7f699f41..e5b49955 100644 --- a/sink.c +++ b/sink.c @@ -387,6 +387,9 @@ static int handle_smtp_report(struct query *ctl, struct msgblk *msg) SMTP_rset(ctl->smtp_socket); /* stay on the safe site */ + if (outlevel >= O_DEBUG) + report(stdout, "Saved error is still %d\n", smtperr); + /* * Note: send_bouncemail message strings are not made subject * to gettext translation because (a) they're going to be -- cgit v1.2.3