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:
csoler 2009-02-16 08:48:57 +00:00
parent d58b4dad7d
commit dbe494abac

View File

@ -60,7 +60,7 @@ pqistreamer::pqistreamer(RsSerialiser *rss, std::string id, BinInterface *bio_in
pkt_rpending = malloc(pkt_rpend_size);
// avoid uninitialized (and random) memory read.
bzero(pkt_rpending,pkt_rpend_size) ;
memset(pkt_rpending,0,pkt_rpend_size) ;
// 100 B/s (minimal)
setMaxRate(true, 0.1);