make sure we don't choke on PULSE_PROP_OVERRIDE

This commit is contained in:
Lennart Poettering 2009-02-21 23:46:31 +01:00
parent 77779ead6d
commit edfa39a2af

View file

@ -135,8 +135,9 @@ void pa_init_proplist(pa_proplist *p) {
k = pa_xstrndup(*e+skip, kl); k = pa_xstrndup(*e+skip, kl);
if (override || !pa_proplist_contains(p, k)) if (!pa_streq(k, "OVERRIDE"))
pa_proplist_sets(p, k, *e+skip+kl+1); if (override || !pa_proplist_contains(p, k))
pa_proplist_sets(p, k, *e+skip+kl+1);
pa_xfree(k); pa_xfree(k);
} }
} }