diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-05-13 06:43:41 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-05-13 06:43:41 +0000 |
commit | b11b996ab664a8f09b63c1352400ba227cb93253 (patch) | |
tree | 4ff2f66f7eaff101c1cb765f6c136d6cb611d6a5 /report.c | |
parent | 549a2fc90d70139de5eac97d3e5bf201c17a647d (diff) | |
download | fetchmail-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.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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); } |