Allow empty string for value

This commit is contained in:
Theodore Dubois 2017-12-08 16:05:40 -08:00 committed by Craig Small
parent cc6bade6d8
commit 387e2cf1ff

View File

@ -396,7 +396,7 @@ static int WriteSetting(const char *setting)
/* point to the value in name=value */
value = equals + 1;
if (!*name || !*value || name == equals) {
if (!*name || name == equals) {
xwarnx(_("malformed setting \"%s\""), setting);
return -2;
}