Unverified Commit 4433b41a by Christian Brauner Committed by Stéphane Graber

confile: config_loglevel()

parent 025baa22
...@@ -1337,7 +1337,7 @@ static int config_loglevel(const char *key, const char *value, ...@@ -1337,7 +1337,7 @@ static int config_loglevel(const char *key, const char *value,
{ {
int newlevel; int newlevel;
if (!value || strlen(value) == 0) if (config_value_empty(value))
return 0; return 0;
if (value[0] >= '0' && value[0] <= '9') { if (value[0] >= '0' && value[0] <= '9') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment