[telepathy-gabble/master] use wocky_strdiff
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Fri Sep 25 02:29:46 PDT 2009
---
src/wocky-pubsub.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wocky-pubsub.c b/src/wocky-pubsub.c
index 705410f..a657cc9 100644
--- a/src/wocky-pubsub.c
+++ b/src/wocky-pubsub.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <wocky/wocky-porter.h>
-#include <telepathy-glib/enums.h>
+#include <wocky/wocky-utils.h>
#include "conn-aliasing.h"
#include "namespaces.h"
@@ -217,7 +217,7 @@ gabble_pubsub_event_handler (WockyPubsub *self,
{
PubsubEventHandler *handler = l->data;
- if (strcmp (handler->ns, event_ns) == 0)
+ if (!wocky_strdiff (handler->ns, event_ns))
{
handler->handle_function (self, msg, from, handler->user_data);
return TRUE;
--
1.5.6.5
More information about the telepathy-commits
mailing list