mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-16 18:10:40 -04:00
added display of checking stage in GUI (at end of transfer). Gave names to the states in ftTransferModule. Added a flag for ForceCheck files (not functional yet)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
36a9159884
commit
fbd8a33db0
7 changed files with 119 additions and 49 deletions
|
@ -466,8 +466,12 @@ bool ftFileCreator::finished()
|
|||
|
||||
bool ftFileCreator::hashReceivedData(std::string& hash)
|
||||
{
|
||||
RsStackMutex stack(ftcMutex) ;
|
||||
|
||||
// csoler: No mutex here please !
|
||||
//
|
||||
// This is a bit dangerous, but otherwise we might stuck the GUI for a
|
||||
// long time. Therefore, we must pay attention not to call this function
|
||||
// at a time file_name nor hash can be modified, which is easy.
|
||||
//
|
||||
return RsDirUtil::hashFile(file_name,hash) ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue