From: Art Cancro Date: Mon, 22 Sep 2008 13:31:49 +0000 (+0000) Subject: Set vCard version to 2.1 X-Git-Tag: v7.86~1921 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=4e1fb9dc1f29fc490b60316d8522866539aec201;p=citadel.git Set vCard version to 2.1 I don't see where we are violating the 3.0 standard, but I'll take their word for it... --- diff --git a/libcitadel/lib/vcard.c b/libcitadel/lib/vcard.c index d875cc557..05b691668 100644 --- a/libcitadel/lib/vcard.c +++ b/libcitadel/lib/vcard.c @@ -290,8 +290,8 @@ char *vcard_serialize(struct vCard *v) if (v == NULL) return NULL; /* self check */ if (v->magic != CTDL_VCARD_MAGIC) return NULL; /* self check */ - /* Set the vCard version number to 3.0 at this time. */ - vcard_set_prop(v, "VERSION", "3.0", 0); + /* Set the vCard version number to 2.1 at this time. */ + vcard_set_prop(v, "VERSION", "2.1", 0); /* Figure out how big a buffer we need to allocate */ len = 64; /* for begin, end, and a little padding for safety */