improved display of shared directories for friends with no update info

This commit is contained in:
csoler 2016-09-28 21:55:03 +02:00
parent 1d977dd0cb
commit 6e4ba76bbb
2 changed files with 24 additions and 11 deletions

View file

@ -242,6 +242,7 @@ bool DirectoryStorage::extractData(const EntryIndex& indx,DirDetails& d)
d.hash.clear() ;
d.count = dir_entry->subdirs.size() + dir_entry->subfiles.size();
d.min_age = now - dir_entry->dir_most_recent_time ;
d.age = now - dir_entry->dir_modtime ;
d.name = dir_entry->dir_name;
d.path = dir_entry->dir_parent_path + "/" + dir_entry->dir_name ;
d.parent = (void*)(intptr_t)dir_entry->parent_index ;