mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-21 21:01:15 -05:00
fixed bug in clink on link in group chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2372 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
459c364636
commit
5263a49038
@ -1641,6 +1641,9 @@ void PeersDialog::anchorClicked (const QUrl& link )
|
||||
uint64_t fileSize = L.at(2).toULongLong();
|
||||
std::string fileHash = L.at(3).toStdString() ;
|
||||
|
||||
if(fileHash.length() > 40)
|
||||
fileHash.resize(40) ;
|
||||
|
||||
#ifdef PEERS_DEBUG
|
||||
std::cerr << "PeersDialog::anchorClicked FileRequest : fileName : " << fileName << ". fileHash : " << fileHash << ". fileSize : " << fileSize << std::endl;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user