blob: 7894a6391817677e50885084655a223893e2879c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From 315c4c2feb8bb5a56cc6dc0715c256ec59dc6916 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Fri, 17 Apr 2009 15:47:27 +0300
Subject: [PATCH 61/85] pulse/context: when NOFAIL, don't try_next_connection() if c->client
---
src/pulse/context.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/pulse/context.c b/src/pulse/context.c
index 4aad737..bfff0e1 100644
--- a/src/pulse/context.c
+++ b/src/pulse/context.c
@@ -902,7 +902,8 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *message, vo
/* The system wide instance via PF_LOCAL */
c->server_list = pa_strlist_prepend(c->server_list, PA_SYSTEM_RUNTIME_PATH PA_PATH_SEP PA_NATIVE_DEFAULT_UNIX_SOCKET);
- try_next_connection(c);
+ if (!c->client)
+ try_next_connection(c);
finish:
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
--
1.6.3.3
|