Merge branch 'master' into topic/jsiwek/broxygen

This commit is contained in:
Jon Siwek 2013-10-03 13:06:23 -05:00
commit 68227f112d
89 changed files with 792 additions and 245 deletions

View file

@ -193,7 +193,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;
@ -1467,10 +1468,8 @@ bool EnumType::DoUnserialize(UnserialInfo* info)
}
VectorType::VectorType(BroType* element_type)
: BroType(TYPE_VECTOR)
: BroType(TYPE_VECTOR), yield_type(element_type)
{
if ( element_type )
yield_type = element_type;
}
VectorType::~VectorType()