X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fvcard%2Fserv_vcard.c;h=a4a569e2cfe4b267636e74ed083b9653b58b5af1;hb=7a9b0685e406cc83597171cc39d008c7e5459ca8;hp=21a99b2d0aae3b99aad1674d320225cc56700600;hpb=7f9d699a7f73ac27bcbde2075a8758744036fb98;p=citadel.git diff --git a/citadel/modules/vcard/serv_vcard.c b/citadel/modules/vcard/serv_vcard.c index 21a99b2d0..a4a569e2c 100644 --- a/citadel/modules/vcard/serv_vcard.c +++ b/citadel/modules/vcard/serv_vcard.c @@ -38,18 +38,7 @@ #include #include #include - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - +#include #include #include #include @@ -1164,7 +1153,7 @@ void store_this_ha(struct addresses_to_be_filed *aptr) { vcard_free(v); syslog(LOG_DEBUG, "vcard: adding contact: %s", recipient); - CtdlSubmitMsg(vmsg, NULL, aptr->roomname, QP_EADDR); + CtdlSubmitMsg(vmsg, NULL, aptr->roomname); CM_Free(vmsg); } }