[Telepathy-commits] [telepathy-mission-control/master] Dispatcher: new_names_cb: fix string check

Alban Crequy alban.crequy at collabora.co.uk
Tue Nov 25 11:06:29 PST 2008


---
 src/mcd-dispatcher.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 6739769..abb1961 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -2339,8 +2339,8 @@ new_names_cb (McdDispatcher *self,
         const char *name = *names;
         names++;
 
-        if (strncmp (MC_IFACE_CLIENT, name, sizeof (MC_IFACE_CLIENT) - 1)
-            != 0)
+        if (strncmp (MC_IFACE_CLIENT ".", name,
+                     sizeof (MC_IFACE_CLIENT ".") - 1) != 0)
         {
             /* This is not a Telepathy Client */
             continue;
-- 
1.5.6.5




More information about the Telepathy-commits mailing list