projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
210668a
)
Backport 3acf77119652d4e6081815dac7dbed4ed6fb7d2f from master
author
Art Cancro
<ajc@citadel.org>
Tue, 22 Feb 2011 23:33:15 +0000
(18:33 -0500)
committer
Art Cancro
<ajc@citadel.org>
Tue, 22 Feb 2011 23:33:15 +0000
(18:33 -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 598ce1253f6c96bcf52c6f1998bea72b38b21a96..9b997e132c9b815d4301dffbbc0caeae5ef4716a 100644
(file)
--- a/
citadel/modules/migrate/serv_migrate.c
+++ b/
citadel/modules/migrate/serv_migrate.c
@@
-182,7
+182,7
@@
void migr_export_rooms(void) {
* this will be handled by exporting the reference count, not by
* exporting the message multiple times.)
*/
* this will be handled by exporting the reference count, not by
* exporting the message multiple times.)
*/
- snprintf(cmd, sizeof cmd, "sort <%s >%s", migr_tempfilename1, migr_tempfilename2);
+ snprintf(cmd, sizeof cmd, "sort
-n
<%s >%s", migr_tempfilename1, migr_tempfilename2);
if (system(cmd) != 0) CtdlLogPrintf(CTDL_ALERT, "Error %d\n", errno);
snprintf(cmd, sizeof cmd, "uniq <%s >%s", migr_tempfilename2, migr_tempfilename1);
if (system(cmd) != 0) CtdlLogPrintf(CTDL_ALERT, "Error %d\n", errno);
if (system(cmd) != 0) CtdlLogPrintf(CTDL_ALERT, "Error %d\n", errno);
snprintf(cmd, sizeof cmd, "uniq <%s >%s", migr_tempfilename2, migr_tempfilename1);
if (system(cmd) != 0) CtdlLogPrintf(CTDL_ALERT, "Error %d\n", errno);