Diff between d1cacca12edeaba0f18665aa10ca235b97e4d841 and 934d1c4d3cd1a176c8ab067f444b675d51b0e210

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 2ee5473..06ae1ec 100644
--- a/obexd/plugins/phonebook-ebook.c
+++ b/obexd/plugins/phonebook-ebook.c
@@ -314,7 +314,7 @@ static void cache_cb(EBook *book, const GError *gerr, GList *contacts,
 			continue;
 
 		attrib = e_vcard_get_attribute(evcard, EVC_TEL);
-		if (!attrib)
+		if (attrib)
 			tel = e_vcard_attribute_get_value(attrib);
 		else
 			tel = g_strdup("");