[gnome-bluetooth/fedora-11] [Bug 589593] New: Crashes when disconnecting audio service
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/fedora-11] [Bug 589593] New: Crashes when disconnecting audio service
- Date: Wed, 16 Sep 2009 10:42:21 +0000 (UTC)
commit 20bc51c9b4bca1913f2dce4e897fe73e4bf4710e
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jul 24 12:12:38 2009 +0100
[Bug 589593] New: Crashes when disconnecting audio service
lib/bluetooth-client.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index b087861..caae303 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -1610,6 +1610,10 @@ service_to_index (const char *service)
if (g_str_equal (connectable_interfaces[i], service) != FALSE)
return i;
}
+ for (i = 0; i < G_N_ELEMENTS (detectable_interfaces); i++) {
+ if (g_str_equal (detectable_interfaces[i], service) != FALSE)
+ return i + G_N_ELEMENTS (connectable_interfaces);
+ }
g_assert_not_reached ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]