[Telepathy-commits] [telepathy-mission-control/master] Dispatcher: match_property: use tp_strdiff

Alban Crequy alban.crequy at collabora.co.uk
Mon Nov 24 05:15:48 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 4529742..08be383 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -907,8 +907,8 @@ match_property (GHashTable *channel_properties,
             return FALSE;
         }
 
-        if (strcmp (g_value_get_string (filter_value),
-                    g_value_get_string (channel_value)) != 0)
+        if (tp_strdiff (g_value_get_string (filter_value),
+                        g_value_get_string (channel_value)))
         {
             /* the content does not match */
             return FALSE;
-- 
1.5.6.5




More information about the Telepathy-commits mailing list