projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e373ca
)
Don't warn if everything is fine
author
Hannah von Reth
<hannah.vonreth@owncloud.com>
Wed, 9 Dec 2020 10:19:30 +0000
(11:19 +0100)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 10:01:53 +0000
(11:01 +0100)
src/libsync/discoveryphase.cpp
patch
|
blob
|
history
diff --git
a/src/libsync/discoveryphase.cpp
b/src/libsync/discoveryphase.cpp
index 63640cab64606d7e2aa651ffa8538caedacbb6b6..c8b522dcfcea626838eecf7deef3f44121aebc59 100644
(file)
--- a/
src/libsync/discoveryphase.cpp
+++ b/
src/libsync/discoveryphase.cpp
@@
-391,9
+391,7
@@
static void propertyMapToRemoteInfo(const QMap<QString, QString> &map, RemoteInf
result.isDirectory = value.contains(QLatin1String("collection"));
} else if (property == QLatin1String("getlastmodified")) {
const auto date = QDateTime::fromString(value, Qt::RFC2822Date);
- if (date.isValid()) {
- qCCritical(lcDiscovery) << "Failed to parse getlastmodified:" << value;
- }
+ Q_ASSERT(date.isValid());
result.modtime = date.toTime_t();
} else if (property == QLatin1String("getcontentlength")) {
// See #4573, sometimes negative size values are returned