Changes to vcard handler required for Bynari Connector support
[citadel.git] / webcit / useredit.c
index 585a954db833cb8a29740f9323c8ae1104a89422..a74d7bcfb3a6f72f4b14bcc752b799accbc08155 100644 (file)
@@ -135,8 +135,8 @@ TRYAGAIN:
                                if (!strncasecmp(buf, "part=", 5)) {
                                        extract_token(partnum, &buf[5], 2, '|', sizeof partnum);
                                        extract_token(content_type, &buf[5], 4, '|', sizeof content_type);
-                                       if (!strcasecmp(content_type,
-                                          "text/x-vcard")) {
+                                       if (  (!strcasecmp(content_type, "text/x-vcard"))
+                                          || (!strcasecmp(content_type, "text/vcard")) ) {
                                                vcard_msgnum = stuff->msgnum;
                                        }
                                }