projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c3733b7
)
In the XML export, move the 100% progress tag inside the final closing tag.
author
Art Cancro
<ajc@citadel.org>
Tue, 2 Mar 2021 16:30:01 +0000
(11:30 -0500)
committer
Art Cancro
<ajc@citadel.org>
Tue, 2 Mar 2021 16:30:01 +0000
(11:30 -0500)
citadel/modules/migrate/serv_migrate.c
patch
|
blob
|
history
diff --git
a/citadel/modules/migrate/serv_migrate.c
b/citadel/modules/migrate/serv_migrate.c
index 33b566361e7ba387f59bb79bbe8725cc80c4e7e2..99377ee914ec874c482ea3b79f7ab5b7214bb02c 100644
(file)
--- a/
citadel/modules/migrate/serv_migrate.c
+++ b/
citadel/modules/migrate/serv_migrate.c
@@
-1,7
+1,7
@@
/*
* This module dumps and/or loads the Citadel database in XML format.
*
/*
* This module dumps and/or loads the Citadel database in XML format.
*
- * Copyright (c) 1987-202
0
by the citadel.org team
+ * Copyright (c) 1987-202
1
by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
@@
-52,15
+52,12
@@
#include "euidindex.h"
#include "ctdl_module.h"
#include "euidindex.h"
#include "ctdl_module.h"
-#define END_OF_MESSAGE "---eom---dbd---"
-
char migr_tempfilename1[PATH_MAX];
char migr_tempfilename2[PATH_MAX];
FILE *migr_global_message_list;
int total_msgs = 0;
char *ikey = NULL; // If we're importing a config key we store it here.
char migr_tempfilename1[PATH_MAX];
char migr_tempfilename2[PATH_MAX];
FILE *migr_global_message_list;
int total_msgs = 0;
char *ikey = NULL; // If we're importing a config key we store it here.
-
/******************************************************************************
* Code which implements the export appears in this section *
******************************************************************************/
/******************************************************************************
* Code which implements the export appears in this section *
******************************************************************************/
@@
-466,8
+463,8
@@
void migr_do_export(void) {
if (Ctx->kill_me == 0) migr_export_visits();
cprintf("<progress>%d</progress>\n", 25);
if (Ctx->kill_me == 0) migr_export_messages();
if (Ctx->kill_me == 0) migr_export_visits();
cprintf("<progress>%d</progress>\n", 25);
if (Ctx->kill_me == 0) migr_export_messages();
- client_write(HKEY("</citadel_migrate_data>\n"));
cprintf("<progress>%d</progress>\n", 100);
cprintf("<progress>%d</progress>\n", 100);
+ client_write(HKEY("</citadel_migrate_data>\n"));
client_write(HKEY("000\n"));
Ctx->dont_term = 0;
}
client_write(HKEY("000\n"));
Ctx->dont_term = 0;
}