[Telepathy-commits] [telepathy-gabble/master] Use g_str_equal. '==' does not work in C !
Alban Crequy
alban.crequy at collabora.co.uk
Tue Aug 19 10:52:30 PDT 2008
20080508171818-a41c0-19033abd7235f1471ae2eb74aec191b5cda099f3.gz
---
src/presence-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/presence-cache.c b/src/presence-cache.c
index 8bc010d..898abf4 100644
--- a/src/presence-cache.c
+++ b/src/presence-cache.c
@@ -822,7 +822,7 @@ _caps_disco_cb (GabbleDisco *disco,
computed_hash =
gabble_presence_compute_xep0115_hash_from_lm_node (query_result);
- if (waiter_self->ver != computed_hash)
+ if (! g_str_equal (waiter_self->ver, computed_hash))
{
/* The received reply does not match the */
g_warning ("The announced verification string '%s' does not match "
--
1.5.6.3
More information about the Telepathy-commits
mailing list