aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-06 20:30:17 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-06 20:30:17 +0000
commit52f84c07a2421cfa86243b332636a474c08a4e2b (patch)
tree5e63e8907ef25b4fa62a2a282821f3d31a37b455 /sink.c
parentb207b3e0065226b86c13ccb636cd91db34c24da2 (diff)
downloadfetchmail-52f84c07a2421cfa86243b332636a474c08a4e2b.tar.gz
fetchmail-52f84c07a2421cfa86243b332636a474c08a4e2b.tar.bz2
fetchmail-52f84c07a2421cfa86243b332636a474c08a4e2b.zip
Better debugging in case of SMTP errors.
svn path=/trunk/; revision=2801
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c3
1 files changed, 3 insertions, 0 deletions
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