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:
csoler 2010-02-19 19:37:24 +00:00
parent 459c364636
commit 5263a49038

View File

@ -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