mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
minor stuff
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@217 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
0b9bc039f6
commit
9ad4aa387e
4 changed files with 5 additions and 5 deletions
|
|
@ -500,7 +500,8 @@ int pa_context_connect(struct pa_context *c, const char *server, int spawn, cons
|
|||
if (!server && spawn && c->conf->autospawn && !default_server_is_running())
|
||||
return context_connect_spawn(c, api);
|
||||
|
||||
server = DEFAULT_SERVER;
|
||||
if (!server)
|
||||
server = DEFAULT_SERVER;
|
||||
|
||||
pa_context_ref(c);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue