Update warn message
authorJeroen van der Heijden <jeroen@transceptor.technology>
Wed, 22 Apr 2020 08:19:30 +0000 (10:19 +0200)
committerJeroen van der Heijden <jeroen@transceptor.technology>
Wed, 22 Apr 2020 08:19:30 +0000 (10:19 +0200)
include/siri/version.h
src/siri/cfg/cfg.c

index 96b8ffc4c89848a3d618df6408bc066744963438..465d00ffd72308dec9bab9e01f4a3b97fd861ced 100644 (file)
@@ -15,7 +15,7 @@
  * Note that debian alpha packages should use versions like this:
  *   2.0.34-0alpha0
  */
-#define SIRIDB_VERSION_PRE_RELEASE "-alpha-2"
+#define SIRIDB_VERSION_PRE_RELEASE "-alpha-3"
 
 #ifndef NDEBUG
 #define SIRIDB_VERSION_BUILD_RELEASE "+debug"
index 3af712f468e4aea15df030a699d78d3719b4d3dd..8b6423ee6120a7429f449a54239f0c50b6da2736 100644 (file)
@@ -276,18 +276,14 @@ static void SIRI_CFG_read_shard_compression(cfgparser_t * cfgparser)
     if (rc != CFGPARSER_SUCCESS)
     {
         log_warning(
-                "Missing '%s' in '%s' (%s). "
-                "Disable shard compression",
-                "enable_shard_compression",
+                "Missing 'enable_shard_compression' in '%s' (%s).",
                 siri.args->config,
                 cfgparser_errmsg(rc));
     }
     else if (option->tp != CFGPARSER_TP_INTEGER || option->val->integer > 1)
     {
         log_warning(
-                "Error reading '%s' in '%s': %s. "
-                "Disable shard compression",
-                "enable_shard_compression",
+                "Error reading 'enable_shard_compression' in '%s': %s.",
                 siri.args->config,
                 "error: expecting 0 or 1");
     }
@@ -309,18 +305,14 @@ static void SIRI_CFG_read_pipe_support(cfgparser_t * cfgparser)
     if (rc != CFGPARSER_SUCCESS)
     {
         log_warning(
-                "Missing '%s' in '%s' (%s). "
-                "Disable pipe support",
-                "enable_pipe_support",
+                "Missing 'enable_pipe_support' in '%s' (%s).",
                 siri.args->config,
                 cfgparser_errmsg(rc));
     }
     else if (option->tp != CFGPARSER_TP_INTEGER || option->val->integer > 1)
     {
         log_warning(
-                "Error reading '%s' in '%s': %s. "
-                "Disable pipe support",
-                "enable_pipe_support",
+                "Error reading 'enable_pipe_support' in '%s': %s.",
                 siri.args->config,
                 "error: expecting 0 or 1");
     }