1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00
This commit is contained in:
Jeff Becker 2016-12-09 09:09:35 -05:00
parent 79e1d54e4c
commit 12371650f9

View File

@ -30,7 +30,7 @@ namespace util
{ {
std::size_t idx; std::size_t idx;
uint8_t mask; uint8_t mask;
Get(data, len, idx, mask); Get(data, len, idx, mask);
if(m_Data[idx] & mask) return false; // filter hit if(m_Data[idx] & mask) return false; // filter hit
m_Data[idx] |= mask; m_Data[idx] |= mask;
return true; return true;