aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2009-05-04 21:51:53 +0000
committerMatthias Andree <matthias.andree@gmx.de>2009-05-04 21:51:53 +0000
commit2da71d093af840881a9d19b847ff98a2e2b7a556 (patch)
treec6c3c0671c915cd8ff8c24aa509bf29152258291
parent75fa0e8c22a92021134ba6a95759eaa834d0e571 (diff)
downloadfetchmail-2da71d093af840881a9d19b847ff98a2e2b7a556.tar.gz
fetchmail-2da71d093af840881a9d19b847ff98a2e2b7a556.tar.bz2
fetchmail-2da71d093af840881a9d19b847ff98a2e2b7a556.zip
Relocate and case-match errnum comment.
svn path=/branches/BRANCH_6-3/; revision=5286
-rw-r--r--report.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/report.c b/report.c
index 05f8ba01..3d4be02e 100644
--- a/report.c
+++ b/report.c
@@ -71,10 +71,8 @@ char *strerror (int errnum)
#endif /* _LIBC */
/* Print the program name and error message MESSAGE, which is a printf-style
- format string with optional args.
- If ERRNUM is nonzero, print its corresponding system error message. */
+ format string with optional args. */
/* VARARGS */
-
void
#ifdef HAVE_STDARG_H
report (FILE *errfp, const char *message, ...)
@@ -125,7 +123,7 @@ report (FILE *errfp, message, va_alist)
va_end(args);
#endif
}
- else
+ else /* i. e. not using syslog */
#endif
{
fflush (errfp);
@@ -351,6 +349,7 @@ report_complete (FILE *errfp, message, va_alist)
variable controls whether this mode is selected or not. */
static int error_one_per_line;
+/* If errnum is nonzero, print its corresponding system error message. */
void
#ifdef HAVE_STDARG_H
report_at_line (FILE *errfp, int errnum, const char *file_name,