refactor naming of core message manipulation funcions
[citadel.git] / citadel / modules / migrate / serv_migrate.c
index 41a2fdf2497d3dc323e078292367069e235eaca0..91815fa798142f1234dcec5661e5adca06bd5809 100644 (file)
@@ -298,7 +298,7 @@ void migr_export_message(long msgnum) {
 
        client_write("<msg_text>", 10);
        serialize_message(&smr, msg);
-       CtdlFreeMessage(msg);
+       CM_Free(msg);
 
        /* Predict the buffer size we need.  Expand the buffer if necessary. */
        int encoded_len = smr.len * 15 / 10 ;