mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Fix csync_push_file.
This commit is contained in:
parent
432c87b335
commit
702265920f
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ static int csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
|
|||
}
|
||||
|
||||
ctx->replica = drep;
|
||||
bwritten = csync_vio_write(ctx, dfp, buf, MAX_XFER_BUF_SIZE);
|
||||
bwritten = csync_vio_write(ctx, dfp, buf, bread);
|
||||
|
||||
if (bwritten < 0 || bread != bwritten) {
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR, "file: %s, command: write, error: bread = %d, bwritten = %d", duri, bread, bwritten);
|
||||
|
|
Loading…
Reference in a new issue