aboutsummaryrefslogtreecommitdiffstats
path: root/report.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-05-13 06:43:41 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-05-13 06:43:41 +0000
commitb11b996ab664a8f09b63c1352400ba227cb93253 (patch)
tree4ff2f66f7eaff101c1cb765f6c136d6cb611d6a5 /report.c
parent549a2fc90d70139de5eac97d3e5bf201c17a647d (diff)
downloadfetchmail-b11b996ab664a8f09b63c1352400ba227cb93253.tar.gz
fetchmail-b11b996ab664a8f09b63c1352400ba227cb93253.tar.bz2
fetchmail-b11b996ab664a8f09b63c1352400ba227cb93253.zip
Caseblind comparison of names, more explicitness about Kerberos.
svn path=/trunk/; revision=988
Diffstat (limited to 'report.c')
-rw-r--r--report.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/report.c b/report.c
index 1e653646..f5c2110d 100644
--- a/report.c
+++ b/report.c
@@ -224,8 +224,15 @@ error (status, errnum, message, va_alist)
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
#endif
- if (errnum)
- fprintf (stderr, ": %s", strerror (errnum));
+ if (errnum) {
+ char *tmps = strerror(errnum);
+ if (tmps) {
+ fprintf (stderr, ": %s", tmps);
+ }
+ else {
+ fprintf (stderr, ": Error %d", errnum);
+ }
+ }
putc ('\n', stderr);
fflush (stderr);
}