mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Deprecate FuncType::Args(), replace with Params()
This commit is contained in:
parent
938ad35a43
commit
40153cc5cb
10 changed files with 24 additions and 17 deletions
|
@ -1810,7 +1810,7 @@ bool Manager::SendEvent(ReaderFrontend* reader, const string& name, const int nu
|
|||
name.c_str(), num_vals);
|
||||
#endif
|
||||
|
||||
RecordType* type = handler->GetType()->Args();
|
||||
const auto& type = handler->GetType()->Params();
|
||||
int num_event_vals = type->NumFields();
|
||||
if ( num_vals != num_event_vals )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue