mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
forgot to undo this - this idea did not work, because records cannot reference themselves.
This commit is contained in:
parent
bf597012f8
commit
aa6026c1a7
1 changed files with 2 additions and 2 deletions
|
@ -898,7 +898,7 @@ void Manager::EndCurrentSend(ReaderFrontend* reader) {
|
|||
Ref(predidx);
|
||||
Ref(val);
|
||||
|
||||
bool result = CallPred(filter->pred, 4, filter->description->Ref(), ev, predidx, val);
|
||||
bool result = CallPred(filter->pred, 3, ev, predidx, val);
|
||||
|
||||
if ( result == false ) {
|
||||
// Keep it. Hence - we quit and simply go to the next entry of lastDict
|
||||
|
@ -1154,7 +1154,7 @@ bool Manager::Delete(ReaderFrontend* reader, Value* *vals) {
|
|||
int startpos = 0;
|
||||
Val* predidx = ValueToRecordVal(vals, filter->itype, &startpos);
|
||||
|
||||
filterresult = CallPred(filter->pred, 4, filter->description->Ref(), ev, predidx, val);
|
||||
filterresult = CallPred(filter->pred, 3, ev, predidx, val);
|
||||
|
||||
if ( filterresult == false ) {
|
||||
// keep it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue