confile: config_loglevel()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2017-05-29 14:38:26 +02:00
parent cdee76e3b1
commit 33501e96b7
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -1421,7 +1421,7 @@ static int config_loglevel(const char *key, const char *value,
{
int newlevel;
if (!value || strlen(value) == 0)
if (config_value_empty(value))
return 0;
if (value[0] >= '0' && value[0] <= '9') {