projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the caching of netconfig entries. The caching of configdb entries now serves...
[citadel.git]
/
citadel
/
utils
/
ctdlmigrate.c
diff --git
a/citadel/utils/ctdlmigrate.c
b/citadel/utils/ctdlmigrate.c
index baa5f6de70231f27fec183bb886f413ee8642175..18b10f511bcc50b1898e3471afcf0b513394870b 100644
(file)
--- a/
citadel/utils/ctdlmigrate.c
+++ b/
citadel/utils/ctdlmigrate.c
@@
-5,7
+5,7
@@
* The scope of this program isn't wide enough to make a difference. If you don't like
* it you can rewrite it.
*
* The scope of this program isn't wide enough to make a difference. If you don't like
* it you can rewrite it.
*
- * Copyright (c) 2009-201
2
citadel.org
+ * Copyright (c) 2009-201
6
citadel.org
*
* 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.
@@
-264,10
+264,6
@@
FAIL: if (sourcefp) pclose(sourcefp);
snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
socket_path, remote_user, remote_host, &buf[9], ctdl_message_dir);
}
snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
socket_path, remote_user, remote_host, &buf[9], ctdl_message_dir);
}
- else if (!strncasecmp(buf, "netconfigs|", 11)) {
- snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
- socket_path, remote_user, remote_host, &buf[11], ctdl_netcfg_dir);
- }
else if (!strncasecmp(buf, "keys|", 5)) {
snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
socket_path, remote_user, remote_host, &buf[5], ctdl_key_dir);
else if (!strncasecmp(buf, "keys|", 5)) {
snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
socket_path, remote_user, remote_host, &buf[5], ctdl_key_dir);