[PATCH obexd] Fix sent vCard format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For now phonebook eds backend supports only vCard 3.0.
---
 plugins/phonebook-ebook.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/phonebook-ebook.c b/plugins/phonebook-ebook.c
index 4a14eca..9cb32c3 100644
--- a/plugins/phonebook-ebook.c
+++ b/plugins/phonebook-ebook.c
@@ -192,7 +192,7 @@ static void ebookpull_cb(EBook *book, const GError *gerr, GList *contacts,
 		EVCard *evcard = E_VCARD(contact);
 		char *vcard;
 
-		vcard = evcard_to_string(evcard, data->params->format,
+		vcard = evcard_to_string(evcard, EVC_FORMAT_VCARD_30,
 						data->params->filter);
 
 		data->buf = g_string_append(data->buf, vcard);
@@ -236,7 +236,7 @@ static void ebook_entry_cb(EBook *book, const GError *gerr,
 
 	evcard = E_VCARD(contact);
 
-	vcard = evcard_to_string(evcard, data->params->format,
+	vcard = evcard_to_string(evcard, EVC_FORMAT_VCARD_30,
 					data->params->filter);
 
 	len = vcard ? strlen(vcard) : 0;
-- 
1.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux