From: Christian Brauner Date: Mon, 29 May 2017 12:38:26 +0000 (+0200) Subject: confile: config_loglevel() X-Git-Tag: lxc-1.0.11~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=596c06fe7cede33473f6341945382531b7936998;p=thirdparty%2Flxc.git confile: config_loglevel() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 5be746eb3..138037361 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1193,7 +1193,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')