* switched off some debugging.

* fixed tickrate slow down (when no activity)
 * added extra flags to interface.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@871 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-12-07 14:53:57 +00:00
parent c05acf2f95
commit d89eda510f
6 changed files with 27 additions and 13 deletions

View file

@ -49,8 +49,9 @@
#include "serialiser/rsconfigitems.h"
#define CONTROL_DEBUG 1
/******
* #define CONTROL_DEBUG 1
*****/
ftFileControl::ftFileControl()
:mTransfer(NULL), mCreator(NULL),
@ -124,8 +125,11 @@ void ftController::run()
std::map<std::string, ftFileControl>::iterator it;
for(it = mDownloads.begin(); it != mDownloads.end(); it++)
{
#ifdef CONTROL_DEBUG
std::cerr << "\tTicking: " << it->first;
std::cerr << std::endl;
#endif
if (it->second.mTransfer)
(it->second.mTransfer)->tick();