telepathy-salut: tubes-manager: correct logic in looking up existing tubes

Jonny Lamb jonny at kemper.freedesktop.org
Tue Aug 28 06:30:47 PDT 2012


Module: telepathy-salut
Branch: master
Commit: 952349de572a794428011753630c5827a2c454d1
URL:    http://cgit.freedesktop.org/telepathy/telepathy-salut/commit/?id=952349de572a794428011753630c5827a2c454d1

Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date:   Tue Jul 24 17:16:30 2012 +0100

tubes-manager: correct logic in looking up existing tubes

Good catch, Will!

Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>

---

 src/tubes-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tubes-manager.c b/src/tubes-manager.c
index b39dc75..778e11c 100644
--- a/src/tubes-manager.c
+++ b/src/tubes-manager.c
@@ -657,7 +657,7 @@ salut_tubes_manager_lookup (SalutTubesManager *self,
       if (!tp_strdiff (type, channel_type)
           && handle == channel_handle
           && !tp_strdiff (service, channel_service))
-        match = FALSE;
+        match = TRUE;
 
       g_free (channel_type);
       g_free (channel_service);



More information about the telepathy-commits mailing list