]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/migrate/serv_migrate.c
* Adjust the memory allocation for Base64-converted messages in serv_migrate.c ....
[citadel.git] / citadel / modules / migrate / serv_migrate.c
index 7885a10a220eb80b872acdd33c4cc757ca4edb98..4441a09b9363a834bd807396cbc3426170d97825 100644 (file)
@@ -268,7 +268,7 @@ void migr_export_message(long msgnum) {
        CtdlFreeMessage(msg);
 
        int encoded_len = 0;
-       int encoded_alloc = smr.len * 139 / 100;        /* well-tested formula for predicting encoded size */
+       int encoded_alloc = smr.len * 14 / 10;  /* well-tested formula for predicting encoded size */
        char *encoded_msg = malloc(encoded_alloc);
 
        if (encoded_msg != NULL) {
@@ -938,7 +938,7 @@ CTDL_MODULE_INIT(migrate)
        if (!threading)
        {
                CtdlRegisterProtoHook(cmd_migr, "MIGR", "Across-the-wire migration");
-               CtdlRegisterProtoHook(cmd_migr, "ARTV", "Across-the-wire migration (legacy calling syntax)"
+               CtdlRegisterProtoHook(cmd_migr, "ARTV", "Across-the-wire migration (legacy syntax)");
        }
        
        /* return our Subversion id for the Log */