mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Apply suggestions from code review
Co-Authored-By: Jon Siwek <jsiwek@corelight.com>
This commit is contained in:
parent
26633eb727
commit
a0fa5758a6
1 changed files with 2 additions and 2 deletions
|
@ -863,12 +863,12 @@ TableVal* RecordType::GetRecordFieldsVal(const RecordVal* rv) const
|
||||||
const type_list* tl = ((const IndexType*) ft)->IndexTypes();
|
const type_list* tl = ((const IndexType*) ft)->IndexTypes();
|
||||||
loop_over_list(*tl, i)
|
loop_over_list(*tl, i)
|
||||||
{
|
{
|
||||||
if (i > 0)
|
if ( i > 0 )
|
||||||
s += ",";
|
s += ",";
|
||||||
s += type_name((*tl)[i]->Tag());
|
s += type_name((*tl)[i]->Tag());
|
||||||
}
|
}
|
||||||
s += "]";
|
s += "]";
|
||||||
if (ft->YieldType())
|
if ( ft->YieldType() )
|
||||||
{
|
{
|
||||||
s += " of ";
|
s += " of ";
|
||||||
s += type_name(ft->YieldType()->Tag());
|
s += type_name(ft->YieldType()->Tag());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue