Fix a bug where the wrong function for deletion was executed.

Thanks to David Wooldridge for all the testing.
This commit is contained in:
Andreas Schneider 2009-01-23 14:07:34 +01:00
parent cc9a185bba
commit e69976bc88

View file

@ -345,8 +345,6 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "file: %s, instruction: PUSHED", duri);
ctx->replica = rep_bak;
rc = 0;
out:
@ -369,6 +367,8 @@ out:
SAFE_FREE(turi);
SAFE_FREE(tdir);
ctx->replica = rep_bak;
return rc;
}