pipewire-pulse: escape the address string

It can contain special chars
This commit is contained in:
Wim Taymans 2020-12-31 16:24:26 +01:00
parent 0bf1aa8f45
commit 1bd90dc666

View file

@ -111,7 +111,7 @@ int main(int argc, char *argv[])
return -1; return -1;
} }
args = spa_aprintf("server.address=%s", address); args = spa_aprintf("server.address=\"%s\"", address);
if (pw_context_load_module(context, if (pw_context_load_module(context,
"libpipewire-module-protocol-pulse", "libpipewire-module-protocol-pulse",
args, NULL) == NULL) { args, NULL) == NULL) {