diff options
author | Bartosz Szatkowski <bulislaw@linux.com> | 2011-07-13 22:10:09 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-07-14 16:44:02 +0300 |
commit | 299f944625dce0b20733cd14de04170f013af552 (patch) | |
tree | 677f97c53ffb899532fb3f167f1d1a7adfca01c0 /plugins/phonebook-ebook.c | |
parent | fec8c41640847dd32bf4484db5102182f5f8ffe6 (diff) | |
download | obexd-299f944625dce0b20733cd14de04170f013af552.tar.gz |
Fix no phone number in vCard listing
Diffstat (limited to 'plugins/phonebook-ebook.c')
-rw-r--r-- | plugins/phonebook-ebook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/phonebook-ebook.c b/plugins/phonebook-ebook.c index 2ee5473..06ae1ec 100644 --- a/plugins/phonebook-ebook.c +++ b/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(""); |