mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
Added missing mutex in p3BanList::removeIpRange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8352 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
82d7ab6052
commit
7bb30921a1
@ -359,6 +359,8 @@ void p3BanList::getBannedIps(std::list<BanListPeer> &lst)
|
||||
|
||||
void p3BanList::removeIpRange(const struct sockaddr_storage& addr,int masked_bytes,uint32_t list_type)
|
||||
{
|
||||
RS_STACK_MUTEX(mBanMtx) ;
|
||||
|
||||
std::map<sockaddr_storage,BanListPeer>::iterator it ;
|
||||
|
||||
if(list_type == RSBANLIST_TYPE_BLACKLIST)
|
||||
|
Loading…
Reference in New Issue
Block a user