aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-15 04:09:01 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-15 04:09:01 +0000
commitd4ae9fed10eab45ac9dd12086cc22f2822c4f3cd (patch)
treed5ffb47a76673b81eb05a390fb7422def0b95ee1 /smtp.c
parent58d31448e21d2f355a4b5f4c18fd7a142b446b33 (diff)
downloadfetchmail-d4ae9fed10eab45ac9dd12086cc22f2822c4f3cd.tar.gz
fetchmail-d4ae9fed10eab45ac9dd12086cc22f2822c4f3cd.tar.bz2
fetchmail-d4ae9fed10eab45ac9dd12086cc22f2822c4f3cd.zip
Make error paths clearer.
svn path=/trunk/; revision=543
Diffstat (limited to 'smtp.c')
-rw-r--r--smtp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/smtp.c b/smtp.c
index 142821d0..cab2ef6c 100644
--- a/smtp.c
+++ b/smtp.c
@@ -116,7 +116,11 @@ static int SMTP_check(FILE *sockfp,char *argbuf)
ok = SM_ERROR;
}
else
+ {
+ if (outlevel == O_VERBOSE)
+ fprintf(stderr, "SMTP< (read failed)\n");
ok = SM_UNRECOVERABLE;
+ }
return (ok);
}