aboutsummaryrefslogtreecommitdiffstats
path: root/report.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-04-05 16:57:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-04-05 16:57:50 +0000
commit93025e3732f2b312516ecb059768a3577c9e46f1 (patch)
tree0c5b2c62fed52989050e6f529a769d9a2c01709a /report.c
parent53b50716e3d468da291c646829671f794bf034f0 (diff)
downloadfetchmail-93025e3732f2b312516ecb059768a3577c9e46f1.tar.gz
fetchmail-93025e3732f2b312516ecb059768a3577c9e46f1.tar.bz2
fetchmail-93025e3732f2b312516ecb059768a3577c9e46f1.zip
Robert de Bath's changes.
svn path=/trunk/; revision=952
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 ee7d7594..7db42edc 100644
--- a/report.c
+++ b/report.c
@@ -170,7 +170,7 @@ error (status, errnum, message, va_alist)
# endif
priority = status? LOG_ALERT : errnum? LOG_ERR : LOG_INFO;
- if (errnum)
+ if (errnum > 0)
{
char *msg = alloca (strlen (message) + 5);