proplist: fix compilation

This commit is contained in:
Wim Taymans 2018-10-19 17:00:25 +02:00
parent 01aa9a5960
commit e4c94bf12d

View file

@ -101,7 +101,7 @@ int pa_proplist_setp(pa_proplist *p, const char *pair)
idx = pair - t; idx = pair - t;
c = strdup(pair); c = strdup(pair);
c[idx] = 0; c[idx] = 0;
pa_properties_sets(p, c, &c[idx]+1); pa_proplist_sets(p, c, &c[idx]+1);
free(c); free(c);
return 0; return 0;