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 fab7cc56e2
commit 2e302406f7

View File

@ -394,7 +394,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;
}