From ac00b3373f1e0a5ac4214322c49db89049022f5e Mon Sep 17 00:00:00 2001 From: jgeboski Date: Tue, 22 Dec 2015 09:39:46 -0500 Subject: facebook-api: fixed faulty conditional with friend checking This regression was introduced by 00c0ae8. --- facebook/facebook-api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facebook/facebook-api.c b/facebook/facebook-api.c index e827c7b..735feae 100644 --- a/facebook/facebook-api.c +++ b/facebook/facebook-api.c @@ -1911,7 +1911,7 @@ fb_api_cb_contacts(FbHttpRequest *req, gpointer data) writeid = fb_json_values_next_str_dup(values, NULL); str = fb_json_values_next_str(values, NULL); - if (g_strcmp0(str, "ARE_FRIENDS") == 0) { + if (g_strcmp0(str, "ARE_FRIENDS") != 0) { continue; } -- cgit v1.2.3