src/server/config/conf.c

changeset 453
4586d534f9b5
parent 415
d938228c382e
--- a/src/server/config/conf.c	Sun Dec 04 13:01:00 2022 +0100
+++ b/src/server/config/conf.c	Thu Feb 23 21:09:33 2023 +0100
@@ -27,6 +27,7 @@
  */
 
 #include "conf.h"
+#include "logging.h"
 
 #include <string.h>
 
@@ -271,7 +272,7 @@
  */
 ConfigDirective* cfg_parse_directive(cxmutstr line, CxAllocator *mp) {
     if(line.length < 6) {
-        log_ereport(LOG_FAILURE, "cfg_parse_directive: line too short");
+        ws_cfg_log(LOG_FAILURE, "cfg_parse_directive: line too short");
         return NULL; // line too short
     }
 

mercurial