diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-03-06 20:30:17 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-03-06 20:30:17 +0000 |
commit | 52f84c07a2421cfa86243b332636a474c08a4e2b (patch) | |
tree | 5e63e8907ef25b4fa62a2a282821f3d31a37b455 /sink.c | |
parent | b207b3e0065226b86c13ccb636cd91db34c24da2 (diff) | |
download | fetchmail-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |