mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Fixing a bunch of format strings.
Also leveraging GCC if available to check format specificier. Closes #567.
This commit is contained in:
parent
d86525ce61
commit
63b46a0ae2
14 changed files with 38 additions and 31 deletions
|
@ -2118,7 +2118,7 @@ Val* TableVal::Delete(const Val* index)
|
|||
Val* va = v ? (v->Value() ? v->Value() : this->Ref()) : 0;
|
||||
|
||||
if ( subnets && ! subnets->Remove(index) )
|
||||
reporter->InternalError( "index not in prefix table" );
|
||||
reporter->InternalError("index not in prefix table");
|
||||
|
||||
if ( LoggingAccess() )
|
||||
{
|
||||
|
@ -2160,7 +2160,7 @@ Val* TableVal::Delete(const HashKey* k)
|
|||
{
|
||||
Val* index = table_hash->RecoverVals(k);
|
||||
if ( ! subnets->Remove(index) )
|
||||
reporter->InternalError( "index not in prefix table" );
|
||||
reporter->InternalError("index not in prefix table");
|
||||
Unref(index);
|
||||
}
|
||||
|
||||
|
@ -2417,7 +2417,7 @@ void TableVal::DoExpire(double t)
|
|||
{
|
||||
Val* index = RecoverIndex(k);
|
||||
if ( ! subnets->Remove(index) )
|
||||
reporter->InternalError( "index not in prefix table" );
|
||||
reporter->InternalError("index not in prefix table");
|
||||
Unref(index);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue