Set vCard version to 2.1
authorArt Cancro <ajc@citadel.org>
Mon, 22 Sep 2008 13:31:49 +0000 (13:31 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 22 Sep 2008 13:31:49 +0000 (13:31 +0000)
I don't see where we are violating the 3.0 standard, but
I'll take their word for it...

libcitadel/lib/vcard.c

index d875cc557b9d9b10373c761132ac56e79a874fe9..05b691668503e494baf339c6e2307c7924b38fad 100644 (file)
@@ -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 */