[netfilter-cvslog] r3395 - trunk/nfsim/core
rusty at netfilter.org
rusty at netfilter.org
Thu Dec 16 01:46:03 CET 2004
Author: rusty at netfilter.org
Date: 2004-12-16 01:46:02 +0100 (Thu, 16 Dec 2004)
New Revision: 3395
Modified:
trunk/nfsim/core/log.c
Log:
Allow barf() to work before log is initialised
Modified: trunk/nfsim/core/log.c
===================================================================
--- trunk/nfsim/core/log.c 2004-12-16 00:18:46 UTC (rev 3394)
+++ trunk/nfsim/core/log.c 2004-12-16 00:46:02 UTC (rev 3395)
@@ -65,7 +65,7 @@
va_end(ap);
if (!type || (type & typemask))
- fprintf(logstream, "%s\n", line);
+ fprintf(logstream ?: stderr, "%s\n", line);
ret = expect_log_hook(line);
talloc_free(line);
More information about the netfilter-cvslog
mailing list