From bb9060f1ca7d2e5b54650d89f220dfe5e52eddc6 Mon Sep 17 00:00:00 2001 From: "Daniele E. Domenichelli" Date: Fri, 29 Jul 2011 02:12:03 +0100 Subject: [PATCH] Use tp_strdiff instead of g_str_equal --- 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 8c6b58b..13ec1c8 100644 --- a/src/presence-cache.c +++ b/src/presence-cache.c @@ -1315,7 +1315,7 @@ _caps_disco_cb (GabbleDisco *disco, computed_hash = wocky_caps_hash_compute_from_node (query_result); - if (g_str_equal (waiter_self->ver, computed_hash)) + if (tp_strdiff (waiter_self->ver, computed_hash)) { trust = capability_info_recvd (cache, node, handle, cap_set, CAPABILITY_BUNDLE_ENOUGH_TRUST, client_types); -- 1.7.5.4