From: Tollef Fog Heen Date: Sun, 29 Jun 2008 08:04:56 +0000 (+0200) Subject: Print out BEGIN:VCARD and END:VCARD, needed by vcard.el X-Git-Tag: 0.1~27 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=642c61dfa7690507173344a92400655c3842b034;p=eweouz Print out BEGIN:VCARD and END:VCARD, needed by vcard.el --- 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;