mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
dbus: Initialize properly the type field of new server structs.
This commit is contained in:
parent
a976db7c49
commit
ad7c8ebff5
1 changed files with 1 additions and 0 deletions
|
|
@ -404,6 +404,7 @@ static struct server *start_server(struct userdata *u, const char *address, enum
|
|||
|
||||
s = pa_xnew0(struct server, 1);
|
||||
s->userdata = u;
|
||||
s->type = type;
|
||||
s->dbus_server = dbus_server_listen(address, &error);
|
||||
|
||||
if (dbus_error_is_set(&error)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue