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,6 +135,7 @@ void pa_init_proplist(pa_proplist *p) {
k = pa_xstrndup(*e+skip, kl); k = pa_xstrndup(*e+skip, kl);
if (!pa_streq(k, "OVERRIDE"))
if (override || !pa_proplist_contains(p, k)) if (override || !pa_proplist_contains(p, k))
pa_proplist_sets(p, k, *e+skip+kl+1); pa_proplist_sets(p, k, *e+skip+kl+1);
pa_xfree(k); pa_xfree(k);