mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Small fixes and simplifications.
This commit is contained in:
parent
d5126a1339
commit
012e09c5c4
3 changed files with 9 additions and 11 deletions
|
@ -140,7 +140,7 @@ bool BloomFilter::DoUnserialize(UnserialInfo* info)
|
|||
return false;
|
||||
hash_ = new hash_policy(static_cast<size_t>(k));
|
||||
uint64 elements;
|
||||
if ( UNSERIALIZE(&elements) )
|
||||
if ( ! UNSERIALIZE(&elements) )
|
||||
return false;
|
||||
elements_ = static_cast<size_t>(elements);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue