From 934d1c4d3cd1a176c8ab067f444b675d51b0e210 Mon Sep 17 00:00:00 2001 From: Bartosz Szatkowski Date: Wed, 13 Jul 2011 22:10:09 +0000 Subject: [PATCH] obexd: Fix no phone number in vCard listing --- obexd/plugins/phonebook-ebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/plugins/phonebook-ebook.c b/obexd/plugins/phonebook-ebook.c index 2ee54734b..06ae1ec1e 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(""); -- 2.47.3