diff --git a/daemon/control_ng_flags_parser.c b/daemon/control_ng_flags_parser.c index 63689a2141..59f771a2a6 100644 --- a/daemon/control_ng_flags_parser.c +++ b/daemon/control_ng_flags_parser.c @@ -33,6 +33,7 @@ static bool get_key_val(str * key, str * val, str *in_out) return false; // key=value ? str k; + *val = STR_NULL; if (!str_token_sep(&k, key, '=')) return true; *val = *key;