src/server/config/serverconfig.c

changeset 514
922bfe380c8e
parent 512
afcdb57e329d
--- a/src/server/config/serverconfig.c	Sat Mar 30 12:35:09 2024 +0100
+++ b/src/server/config/serverconfig.c	Sat Mar 30 12:35:29 2024 +0100
@@ -29,6 +29,7 @@
 
 #include "serverconfig.h"
 #include "conf.h"
+#include "logging.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -127,7 +128,7 @@
         if(c == '\n') {
             if(quote) {
                 *pos = i;
-                log_ereport(
+                ws_cfg_log(
                         LOG_FAILURE,
                         "cfgparser: file %s:%d:%d: error: %s",
                         parser->filename,

mercurial