chiark / gitweb /
make-secnet-sites: If definition found in wrong place, bomb out
[secnet.git] / log.c
diff --git a/log.c b/log.c
index 6f4b7380198e7ad37dbf367d36b43b39a704e979..3a50a27ce47ab301ae317353f800fed9a2986b8b 100644 (file)
--- a/log.c
+++ b/log.c
@@ -22,7 +22,7 @@ static void vMessage(uint32_t class, const char *message, va_list args)
     size_t bp;
     char *nlp;
 
-    if (secnet_is_daemon) {
+    if (system_log) {
        /* Messages go to the system log interface */
        bp=strlen(buff);
        assert(bp < MESSAGE_BUFLEN);