Unverified Commit 596c06fe by Christian Brauner Committed by Stéphane Graber

confile: config_loglevel()

parent 700d6541
...@@ -1193,7 +1193,7 @@ static int config_loglevel(const char *key, const char *value, ...@@ -1193,7 +1193,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