mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-29 00:26:33 +03:00
Merge pull request #329 from nextcloud/upstream/pr/6416
csync_update: add the checksum in the discovery log
This commit is contained in:
commit
6872cbda7e
1 changed files with 4 additions and 6 deletions
|
@ -210,14 +210,12 @@ static int _csync_detect_update(CSYNC *ctx, std::unique_ptr<csync_file_stat_t> f
|
|||
/* we have an update! */
|
||||
qCInfo(lcUpdate, "Database entry found for %s, compare: %" PRId64 " <-> %" PRId64
|
||||
", etag: %s <-> %s, inode: %" PRId64 " <-> %" PRId64
|
||||
", size: %" PRId64 " <-> %" PRId64 ", perms: %x <-> %x, ignore: %d, e2e: %s",
|
||||
base._path.constData(),
|
||||
", size: %" PRId64 " <-> %" PRId64 ", perms: %x <-> %x"
|
||||
", checksum: %s <-> %s , ignore: %d",
|
||||
((int64_t) fs->modtime), ((int64_t) base._modtime),
|
||||
fs->etag.constData(), base._etag.constData(), (uint64_t) fs->inode, (uint64_t) base._inode,
|
||||
(uint64_t) fs->size, (uint64_t) base._fileSize,
|
||||
*reinterpret_cast<short*>(&fs->remotePerm), *reinterpret_cast<short*>(&base._remotePerm),
|
||||
base._serverHasIgnoredFiles,
|
||||
base._e2eMangledName.constData());
|
||||
(uint64_t) fs->size, (uint64_t) base._fileSize, *reinterpret_cast<short*>(&fs->remotePerm), *reinterpret_cast<short*>(&base._remotePerm), fs->checksumHeader.constData(),
|
||||
base._checksumHeader.constData(), base._serverHasIgnoredFiles);
|
||||
if (ctx->current == REMOTE_REPLICA && fs->etag != base._etag) {
|
||||
fs->instruction = CSYNC_INSTRUCTION_EVAL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue