mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
implement cancelTransfer and update transfer module for debug log
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@722 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
787159debe
commit
7b609a6aea
3 changed files with 110 additions and 75 deletions
|
@ -221,7 +221,7 @@ bool ftController::FileRequest(std::string fname, std::string hash,
|
|||
std::string savepath = mDownloadPath + "/" + fname;
|
||||
std::string chunker = "default";
|
||||
ftFileCreator *fc = new ftFileCreator(savepath, size, hash, chunker);
|
||||
ftTransferModule *tm = new ftTransferModule(fc, mDataplex);
|
||||
ftTransferModule *tm = new ftTransferModule(fc, mDataplex,this);
|
||||
|
||||
/* add into maps */
|
||||
ftFileControl ftfc(fname, size, hash, flags, fc, tm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue