mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 22:49:37 -05:00
win32 compilation compatibility
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1048 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d58b4dad7d
commit
dbe494abac
@ -60,7 +60,7 @@ pqistreamer::pqistreamer(RsSerialiser *rss, std::string id, BinInterface *bio_in
|
|||||||
pkt_rpending = malloc(pkt_rpend_size);
|
pkt_rpending = malloc(pkt_rpend_size);
|
||||||
|
|
||||||
// avoid uninitialized (and random) memory read.
|
// avoid uninitialized (and random) memory read.
|
||||||
bzero(pkt_rpending,pkt_rpend_size) ;
|
memset(pkt_rpending,0,pkt_rpend_size) ;
|
||||||
|
|
||||||
// 100 B/s (minimal)
|
// 100 B/s (minimal)
|
||||||
setMaxRate(true, 0.1);
|
setMaxRate(true, 0.1);
|
||||||
|
Loading…
Reference in New Issue
Block a user