CtdlDeleteMessages() now has a bulk API. Updated all of the
[citadel.git] / citadel / serv_vcard.c
index c49ca6b6c1d495dac46ed9a3b60ae18aee894c13..51f7b29f56c810e4e3cbb08324923bf07eb74b26 100644 (file)
@@ -323,7 +323,7 @@ int vcard_upload_beforesave(struct CtdlMessage *msg) {
                                 * vCard in the user's config room at all times.
                                 */
                                CtdlDeleteMessages(CC->room.QRname,
-                                               0L, "text/x-vcard", 1);
+                                               NULL, 0, "text/x-vcard", 1);
 
                                /* Make the author of the message the name of the user.
                                 */