From 642c61dfa7690507173344a92400655c3842b034 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 29 Jun 2008 10:04:56 +0200 Subject: [PATCH] Print out BEGIN:VCARD and END:VCARD, needed by vcard.el --- src/dump-addressbook.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dump-addressbook.c b/src/dump-addressbook.c index 10c7c4b..ca07d21 100644 --- a/src/dump-addressbook.c +++ b/src/dump-addressbook.c @@ -8,6 +8,7 @@ void dump_as_vcard(EContact *contact, int dump_all) GList *attrs; int i; + printf("BEGIN:VCARD\n"); attrs = e_vcard_get_attributes(&contact->parent); for (i = 0; i < g_list_length(attrs); i++) { EVCardAttribute *attr = (EVCardAttribute *) @@ -43,6 +44,7 @@ void dump_as_vcard(EContact *contact, int dump_all) } } } + printf("END:VCARD\n"); } static gchar **search_filter = NULL; -- 2.39.5