]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/migrate/serv_migrate.c
* svn propset svn_keywords 'Id' on some files that didn't have it
[citadel.git] / citadel / modules / migrate / serv_migrate.c
index 7885a10a220eb80b872acdd33c4cc757ca4edb98..b440ff3b4ebecb75ae8c2f91a058cd277d6e6b29 100644 (file)
@@ -1,5 +1,6 @@
 /*
- * $Id: serv_migrate.c 7274 2009-03-27 15:11:14Z ajc $
+ * $Id$
+ *
  * Copyright (c) 2000-2009 by the citadel.org development team
  *
  * This module dumps and/or loads the Citadel database in XML format.
@@ -268,7 +269,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,9 +939,9 @@ 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 */
-       return "$Id: serv_migrate.c 7274 2009-03-27 15:11:14Z ajc $";
+       return "$Id$";
 }