mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
all: Change to use Func::GetName()
This commit is contained in:
parent
71e9c8d436
commit
77b9510c8a
13 changed files with 29 additions and 31 deletions
|
@ -412,8 +412,8 @@ bool Manager::CreateEventStream(RecordVal* fval) {
|
|||
|
||||
stream->num_fields = fieldsV.size();
|
||||
stream->fields = fields->Ref()->AsRecordType();
|
||||
stream->event = event_registry->Lookup(event->Name());
|
||||
stream->error_event = error_event ? event_registry->Lookup(error_event->Name()) : nullptr;
|
||||
stream->event = event_registry->Lookup(event->GetName());
|
||||
stream->error_event = error_event ? event_registry->Lookup(error_event->GetName()) : nullptr;
|
||||
stream->want_record = (want_record->InternalInt() == 1);
|
||||
|
||||
assert(stream->reader);
|
||||
|
@ -679,8 +679,8 @@ bool Manager::CreateTableStream(RecordVal* fval) {
|
|||
stream->tab = dst.release()->AsTableVal();
|
||||
stream->rtype = val.release();
|
||||
stream->itype = idx->Ref()->AsRecordType();
|
||||
stream->event = event ? event_registry->Lookup(event->Name()) : nullptr;
|
||||
stream->error_event = error_event ? event_registry->Lookup(error_event->Name()) : nullptr;
|
||||
stream->event = event ? event_registry->Lookup(event->GetName()) : nullptr;
|
||||
stream->error_event = error_event ? event_registry->Lookup(error_event->GetName()) : nullptr;
|
||||
stream->currDict = new PDict<InputHash>;
|
||||
stream->currDict->SetDeleteFunc(input_hash_delete_func);
|
||||
stream->lastDict = new PDict<InputHash>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue