diff options
author | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2022-02-28 16:45:36 +0300 |
---|---|---|
committer | Matthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr> | 2022-03-18 02:28:02 +0300 |
commit | a7adca84e26471df3d4a097a3ef6fdd24c1a6a6c (patch) | |
tree | 866894f5445ab02a224b2478040ca2f53276fd45 | |
parent | d2b67ffea20b296a512e68f967e77c38a7ff2a4c (diff) |
remove wrong assert that is blocing the run of debug client
if the server has files with invalid modtime this assert will trigger
even though the code is handling the situation
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
-rw-r--r-- | src/libsync/propagatedownload.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsync/propagatedownload.cpp b/src/libsync/propagatedownload.cpp index 5bdd72d5b..bc2922070 100644 --- a/src/libsync/propagatedownload.cpp +++ b/src/libsync/propagatedownload.cpp @@ -563,7 +563,6 @@ void PropagateDownloadFile::startAfterIsEncryptedIsChecked() return checksum_header.startsWith("SHA") || checksum_header.startsWith("MD5:"); }; - Q_ASSERT(_item->_modtime > 0); if (_item->_modtime <= 0) { qCWarning(lcPropagateDownload()) << "invalid modified time" << _item->_file << _item->_modtime; } |