[Telepathy-commits] [telepathy-glib/master] tp_strv_contains: use tp_strdiff rather than strcmp

Will Thompson will.thompson at collabora.co.uk
Tue Sep 9 03:22:40 PDT 2008


---
 telepathy-glib/util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/telepathy-glib/util.c b/telepathy-glib/util.c
index d7dd07c..05b22cf 100644
--- a/telepathy-glib/util.c
+++ b/telepathy-glib/util.c
@@ -318,7 +318,7 @@ tp_strv_contains (const gchar * const *strv,
 
   while (*strv != NULL)
     {
-      if (!strcmp (str, *strv))
+      if (!tp_strdiff (str, *strv))
         return TRUE;
       strv++;
     }
-- 
1.5.6.3




More information about the Telepathy-commits mailing list