Skip to contentSkip to conversation

Fix sent vCard format

PATCH Applied Bartosz Szatkowski 2 participants 2 messages Jul 21, 2011 – Jul 26, 2011 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix sent vCard format

For now phonebook eds backend supports only vCard 3.0.

---
 plugins/phonebook-ebook.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
plugins/phonebook-ebook.c +2 -2
index 4a14eca..9cb32c3 100644
@@ -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;
Signature · 1 line
1.7.6
#1 lore raw

Hi Bartosz,

Quoted 4 lines · Bartosz Szatkowski

For now phonebook eds backend supports only vCard 3.0.

---
 plugins/phonebook-ebook.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Applied. Thanks.

Johan