mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-20 03:48:16 -04:00
renamed "count" to "size" in DirDetails
This commit is contained in:
parent
335a90cc92
commit
aad27ff94b
12 changed files with 40 additions and 40 deletions
|
@ -2283,7 +2283,7 @@ std::error_condition ftServer::exportFileLink(
|
|||
tDirDet.type = DIR_TYPE_FILE;
|
||||
tDirDet.name = fileName;
|
||||
tDirDet.hash = fileHash;
|
||||
tDirDet.count = fileSize;
|
||||
tDirDet.size = fileSize;
|
||||
|
||||
return dirDetailsToLink(link, tDirDet, fragSneak, baseUrl);
|
||||
}
|
||||
|
@ -2308,7 +2308,7 @@ std::error_condition ftServer::parseFilesLink(
|
|||
dt.name = *tUrl.getQueryV("name");
|
||||
try
|
||||
{
|
||||
dt.count = std::stoull(*tUrl.getQueryV("size"));
|
||||
dt.size = std::stoull(*tUrl.getQueryV("size"));
|
||||
std::unique_ptr<RsFileTree> ft;
|
||||
if( !dt.hash.isNull() &&
|
||||
(ft = RsFileTree::fromDirDetails(dt, true)) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue