mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 11:48:56 +03:00
Fix a bug where the wrong function for deletion was executed.
Thanks to David Wooldridge for all the testing.
This commit is contained in:
parent
cc9a185bba
commit
e69976bc88
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "file: %s, instruction: PUSHED", duri);
|
||||||
|
|
||||||
ctx->replica = rep_bak;
|
|
||||||
|
|
||||||
rc = 0;
|
rc = 0;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
@ -369,6 +367,8 @@ out:
|
||||||
SAFE_FREE(turi);
|
SAFE_FREE(turi);
|
||||||
SAFE_FREE(tdir);
|
SAFE_FREE(tdir);
|
||||||
|
|
||||||
|
ctx->replica = rep_bak;
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue