fix build on macOS

Wed, 17 Jan 2024 20:28:49 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 17 Jan 2024 20:28:49 +0100
changeset 512
afcdb57e329d
parent 511
a5a142fea2ae
child 514
922bfe380c8e

fix build on macOS

src/server/config/serverconfig.c file | annotate | diff | comparison | revisions
--- a/src/server/config/serverconfig.c	Tue Sep 12 18:08:11 2023 +0200
+++ b/src/server/config/serverconfig.c	Wed Jan 17 20:28:49 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