[PATCH] Fix logging logic in output().
Artem Savkov <[email protected]> Wed, 17 Feb 2016 17:20:39 +0100
| Newsgroups | org.kernel.vger.trinity |
|---|---|
| Message-ID | <[email protected]> |
Commit "preparation for different forms of logging." contained a typo that broke logging to mainlogfile. Signed-off-by: Artem Savkov <[email protected]> --- log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.c b/log.c index dbac844..aee5a67 100644 --- a/log.c +++ b/log.c @@ -103,7 +103,7 @@ void output(unsigned char level, const char *fmt, ...) } /* go on with file logs only if enabled */ - if (logging == LOGGING_FILES) + if (logging == LOGGING_DISABLED) return; handle = find_logfile_handle(); -- 2.5.0