src/server/config/conf.c

changeset 115
51d9a15eac98
parent 99
b9a6af0ae41a
child 415
d938228c382e
--- a/src/server/config/conf.c	Wed Feb 10 12:19:56 2016 +0100
+++ b/src/server/config/conf.c	Sat Oct 22 11:27:39 2016 +0200
@@ -279,7 +279,7 @@
  */
 ConfigDirective* cfg_parse_directive(sstr_t line, UcxAllocator *mp) {
     if(line.length < 6) {
-        printf("line too short\n");
+        log_ereport(LOG_FAILURE, "cfg_parse_directive: line too short");
         return NULL; // line too short
     }
 

mercurial