mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Improve return value checking and error handling.
This commit is contained in:
parent
4b24cebad9
commit
daf5d0d098
14 changed files with 101 additions and 33 deletions
|
@ -179,7 +179,8 @@ unsigned int BroType::MemoryAllocation() const
|
|||
bool BroType::Serialize(SerialInfo* info) const
|
||||
{
|
||||
// We always send full types (see below).
|
||||
SERIALIZE(true);
|
||||
if ( ! SERIALIZE(true) )
|
||||
return false;
|
||||
|
||||
bool ret = SerialObj::Serialize(info);
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue