Diff between e5018a74ef66d5e3de75f877e3bc26a86c1cc004 and f9158801b80f80734050a270dd9f41faa589844d

Changed Files

File Additions Deletions Status
obexd/plugins/phonebook-ebook.c +1 -1 modified

Full Patch

diff --git a/obexd/plugins/phonebook-ebook.c b/obexd/plugins/phonebook-ebook.c
index 3c24107..1598d5f 100644
--- a/obexd/plugins/phonebook-ebook.c
+++ b/obexd/plugins/phonebook-ebook.c
@@ -459,7 +459,7 @@ int phonebook_create_cache(const char *name, phonebook_entry_cb entry_cb,
 
 	ret = e_book_async_get_contacts(ebook, query, cache_cb, data);
 	e_book_query_unref(query);
-	if (ret == FALSE) {
+	if (ret != FALSE) {
 		g_free(data);
 		return -EFAULT;
 	}