From e168a13ce589300db74c09e82bbe63c1297a1274 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 29 May 2009 07:53:59 +0000 Subject: Let logfile take precedence over syslog if and only if logfile is effective. svn path=/branches/BRANCH_6-3/; revision=5349 --- report.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'report.c') diff --git a/report.c b/report.c index fa1ce4ad..f8f2187f 100644 --- a/report.c +++ b/report.c @@ -149,12 +149,11 @@ report (FILE *errfp, message, va_alist) } } -/* - * Calling report_init(1) causes report_build and report_complete to write - * to errfp without buffering. This is needed for the ticker dots to - * work correctly. +/** + * Configure the report module. The output is set according to + * \a mode. */ -void report_init(int mode) +void report_init(int mode /** 0: regular output, 1: unbuffered output, -1: syslog */) { switch(mode) { -- cgit v1.2.3