diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2009-05-29 07:53:59 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2009-05-29 07:53:59 +0000 |
commit | e168a13ce589300db74c09e82bbe63c1297a1274 (patch) | |
tree | 7d64b648a2ce43783c0a8945c591e1dbd1c89240 /report.c | |
parent | 01c9b0afb3e30324f2984cece695f79b925d7a9f (diff) | |
download | fetchmail-e168a13ce589300db74c09e82bbe63c1297a1274.tar.gz fetchmail-e168a13ce589300db74c09e82bbe63c1297a1274.tar.bz2 fetchmail-e168a13ce589300db74c09e82bbe63c1297a1274.zip |
Let logfile take precedence over syslog if and only if logfile is effective.
svn path=/branches/BRANCH_6-3/; revision=5349
Diffstat (limited to 'report.c')
-rw-r--r-- | report.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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) { |