Set the replica to destination only once.

This commit is contained in:
Andreas Schneider 2008-11-13 14:06:22 +01:00
parent d177c57cfe
commit 1e70c74037

View file

@ -121,8 +121,6 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
goto out;
}
ctx->replica = drep;
/* create the temporary file name */
if (asprintf(&turi, "%s.XXXXXX", duri) < 0) {
rc = -1;