mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
...forgotten file.
This commit is contained in:
parent
14c6c40042
commit
5f5209fcfb
1 changed files with 7 additions and 2 deletions
|
@ -760,9 +760,14 @@ int Manager::SendEntryTable(Filter* i, const Value* const *vals) {
|
||||||
hash_t valhash = 0;
|
hash_t valhash = 0;
|
||||||
if ( filter->num_val_fields > 0 ) {
|
if ( filter->num_val_fields > 0 ) {
|
||||||
HashKey* valhashkey = HashValues(filter->num_val_fields, vals+filter->num_idx_fields);
|
HashKey* valhashkey = HashValues(filter->num_val_fields, vals+filter->num_idx_fields);
|
||||||
|
if ( valhashkey == 0 ) {
|
||||||
|
// empty line. index, but no values.
|
||||||
|
// hence we also have no hash value...
|
||||||
|
} else {
|
||||||
valhash = valhashkey->Hash();
|
valhash = valhashkey->Hash();
|
||||||
delete(valhashkey);
|
delete(valhashkey);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
InputHash *h = filter->lastDict->Lookup(idxhash);
|
InputHash *h = filter->lastDict->Lookup(idxhash);
|
||||||
if ( h != 0 ) {
|
if ( h != 0 ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue