]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/migrate/serv_migrate.c
Remove legacy command ARTV
[citadel.git] / citadel / modules / migrate / serv_migrate.c
index f70493e825a085ee968a80519f7a4540157c1486..6e7f2dbbf9eae7696aa5766ccf55002fba3d32cd 100644 (file)
@@ -69,6 +69,10 @@ void xml_strout(char *str) {
 
        char *c = str;
 
+       if (str == NULL) {
+               return;
+       }
+
        while (*c != 0) {
                if (*c == '\"') {
                        client_write(""", 6);
@@ -1037,7 +1041,6 @@ CTDL_MODULE_INIT(migrate)
        if (!threading)
        {
                CtdlRegisterProtoHook(cmd_migr, "MIGR", "Across-the-wire migration");
-               CtdlRegisterProtoHook(cmd_migr, "ARTV", "Across-the-wire migration (legacy syntax)");
        }
        
        /* return our module name for the log */