From: Bartosz Szatkowski <bulislaw@linux.com>
To: linux-bluetooth@vger.kernel.org
Cc: Bartosz Szatkowski <bulislaw@linux.com>
Subject: [PATCH obexd] Fix sent vCard format
Date: Thu, 21 Jul 2011 23:03:59 +0200 [thread overview]
Message-ID: <1311282239-5437-1-git-send-email-bulislaw@linux.com> (raw)
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
next reply other threads:[~2011-07-21 21:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-21 21:03 Bartosz Szatkowski [this message]
2011-07-26 10:43 ` [PATCH obexd] Fix sent vCard format Johan Hedberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1311282239-5437-1-git-send-email-bulislaw@linux.com \
--to=bulislaw@linux.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.