From: Jeroen van der Heijden Date: Wed, 22 Apr 2020 08:19:30 +0000 (+0200) Subject: Update warn message X-Git-Tag: archive/raspbian/2.0.44-1+rpi1~1^2~3^2~5^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=83b61a0acb8cf2555e6fe42127af464f8ebf288f;p=siridb-server.git Update warn message --- diff --git a/include/siri/version.h b/include/siri/version.h index 96b8ffc4..465d00ff 100644 --- a/include/siri/version.h +++ b/include/siri/version.h @@ -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" diff --git a/src/siri/cfg/cfg.c b/src/siri/cfg/cfg.c index 3af712f4..8b6423ee 100644 --- a/src/siri/cfg/cfg.c +++ b/src/siri/cfg/cfg.c @@ -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"); }