telepathy-gabble: private-tubes-factory: correct logic in looking up existing tubes

Jonny Lamb jonny at kemper.freedesktop.org
Tue Aug 28 06:19:33 PDT 2012


Module: telepathy-gabble
Branch: master
Commit: 1ed620dc1a64533f8aeaa668f510c930c2aa6f5e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=1ed620dc1a64533f8aeaa668f510c930c2aa6f5e

Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date:   Wed Jul 18 17:27:38 2012 +0100

private-tubes-factory: correct logic in looking up existing tubes

Good catch, Simon!

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

---

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

diff --git a/src/private-tubes-factory.c b/src/private-tubes-factory.c
index bf9a628..3d10b22 100644
--- a/src/private-tubes-factory.c
+++ b/src/private-tubes-factory.c
@@ -982,7 +982,7 @@ gabble_private_tubes_factory_lookup (GabblePrivateTubesFactory *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