aboutsummaryrefslogtreecommitdiffstats
path: root/report.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-28 16:40:38 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-28 16:40:38 +0000
commit0c16aeecaf389c8d7e11aaa82469ab645e7912e5 (patch)
tree8023c937045e48ef8cb43355d60ca7bd771f3052 /report.c
parentd29244afe6029d72d9c2520f3515683136c813c9 (diff)
downloadfetchmail-0c16aeecaf389c8d7e11aaa82469ab645e7912e5.tar.gz
fetchmail-0c16aeecaf389c8d7e11aaa82469ab645e7912e5.tar.bz2
fetchmail-0c16aeecaf389c8d7e11aaa82469ab645e7912e5.zip
Greg Stark's first round of patches.
svn path=/trunk/; revision=1428
Diffstat (limited to 'report.c')
-rw-r--r--report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/report.c b/report.c
index bcca5f64..a4032782 100644
--- a/report.c
+++ b/report.c
@@ -224,7 +224,7 @@ error (status, errnum, message, va_alist)
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
#endif
- if (errnum) {
+ if (errnum && errnum != -1) {
char *tmps = strerror(errnum);
if (tmps) {
fprintf (stderr, ": %s", tmps);