s/VERBOSITY/VERBOSE/g on the server side for consistency purposes.

This commit is contained in:
Franck Joncourt
2013-06-25 21:56:53 +02:00
committed by Michael Rash
parent 7fde3949da
commit 10fdbb509c
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ static char *config_map[NUMBER_OF_CONFIG_ENTRIES] = {
#endif
"GPG_HOME_DIR",
"FIREWALL_EXE",
"VERBOSITY"
"VERBOSE"
};
+4 -4
View File
@@ -762,14 +762,14 @@ config_init(fko_srv_options_t *opts, int argc, char **argv)
/* Set up the verbosity level according to the value found in the
* config files */
if (opts->config[CONF_VERBOSITY] != NULL)
if (opts->config[CONF_VERBOSE] != NULL)
{
opts->verbose = strtol_wrapper(opts->config[CONF_VERBOSITY], 0, -1,
opts->verbose = strtol_wrapper(opts->config[CONF_VERBOSE], 0, -1,
NO_EXIT_UPON_ERR, &is_err);
if(is_err != FKO_SUCCESS)
{
log_msg(LOG_ERR, "[*] VERBOSITY value '%s' not in the range (>0)",
opts->config[CONF_VERBOSITY]);
log_msg(LOG_ERR, "[*] VERBOSE value '%s' not in the range (>0)",
opts->config[CONF_VERBOSE]);
clean_exit(opts, NO_FW_CLEANUP, EXIT_FAILURE);
}
}
+1 -1
View File
@@ -251,7 +251,7 @@ enum {
#endif
CONF_GPG_HOME_DIR,
CONF_FIREWALL_EXE,
CONF_VERBOSITY,
CONF_VERBOSE,
NUMBER_OF_CONFIG_ENTRIES /* Marks the end and number of entries */
};