mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 20:28:57 +03:00
Discovery: Add warning if returned etag is 0
There will be another bugfix which fixes https://gist.github.com/jturcotte/3d5a7874d26bc27b1be9 directory.
This commit is contained in:
parent
9b9f0bdd4d
commit
7f2213416a
1 changed files with 3 additions and 0 deletions
|
@ -270,6 +270,9 @@ void DiscoverySingleDirectoryJob::directoryListingIteratedSlot(QString file,QMap
|
|||
|
||||
csync_vio_file_stat_t *file_stat = propertyMapToFileStat(map);
|
||||
file_stat->name = strdup(file.toUtf8());
|
||||
if (!file_stat->etag || strlen(file_stat->etag) == 0) {
|
||||
qDebug() << "WARNING: etag of" << file_stat->name << "is" << file_stat->etag << " This must not happen.";
|
||||
}
|
||||
//qDebug() << "!!!!" << file_stat << file_stat->name << file_stat->file_id << map.count();
|
||||
_results.append(file_stat);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue