mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 06:42:19 -04:00
fixed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8146 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fce6b7edf3
commit
8d7842739c
1 changed files with 5 additions and 3 deletions
|
@ -54,11 +54,13 @@ pqihandler::pqihandler(SecurityPolicy *Global) : coreMtx("pqihandler")
|
|||
rateIndiv_out = 0.01;
|
||||
rateIndiv_in = 0.01;
|
||||
rateMax_out = 0.01;
|
||||
rateMax_in = 0.01;
|
||||
last_m = time(NULL) ;
|
||||
rateMax_in = 0.01;
|
||||
rateTotal_in = 0.0 ;
|
||||
rateTotal_out = 0.0 ;
|
||||
last_m = time(NULL) ;
|
||||
nb_ticks = 0 ;
|
||||
ticks_per_sec = 5 ; // initial guess
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
int pqihandler::tick()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue