mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38: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();
|
||||
loop_over_list(*tl, i)
|
||||
{
|
||||
if (i > 0)
|
||||
if ( i > 0 )
|
||||
s += ",";
|
||||
s += type_name((*tl)[i]->Tag());
|
||||
}
|
||||
s += "]";
|
||||
if (ft->YieldType())
|
||||
if ( ft->YieldType() )
|
||||
{
|
||||
s += " of ";
|
||||
s += type_name(ft->YieldType()->Tag());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue