mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Fix unlink of the temporary file to determine the timediff.
This commit is contained in:
parent
db839ef5d3
commit
f89333c3c8
1 changed files with 5 additions and 0 deletions
|
@ -104,10 +104,15 @@ time_t csync_timediff(CSYNC *ctx) {
|
|||
|
||||
out:
|
||||
csync_vio_file_stat_destroy(st);
|
||||
|
||||
ctx->replica = ctx->local.type;
|
||||
csync_vio_unlink(ctx, luri);
|
||||
SAFE_FREE(luri);
|
||||
|
||||
ctx->replica = ctx->remote.type;
|
||||
csync_vio_unlink(ctx, ruri);
|
||||
SAFE_FREE(ruri);
|
||||
|
||||
return timediff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue