refactor naming of core message manipulation funcions
[citadel.git] / citadel / modules / fulltext / serv_fulltext.c
index 7943e344cc87a392c0947917e1374f7249b35318..6288bfc9ab99adb0a240c99b739aab54da32622e 100644 (file)
@@ -128,7 +128,7 @@ void ft_index_message(long msgnum, int op) {
 
        if (!CM_IsEmpty(msg, eSuppressIdx)) {
                syslog(LOG_DEBUG, "ft_index_message() excluded msg %ld", msgnum);
-               CtdlFreeMessage(msg);
+               CM_Free(msg);
                return;
        }
 
@@ -139,7 +139,7 @@ void ft_index_message(long msgnum, int op) {
         */
        CC->redirect_buffer = NewStrBufPlain(NULL, SIZ);
        CtdlOutputPreLoadedMsg(msg, MT_CITADEL, HEADERS_ALL, 0, 1, 0);
-       CtdlFreeMessage(msg);
+       CM_Free(msg);
        msgtext = CC->redirect_buffer;
        CC->redirect_buffer = NULL;
        if (msgtext != NULL) {