mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
A few more small tweaks.
This commit is contained in:
parent
1459216b20
commit
8220d70e88
4 changed files with 6 additions and 8 deletions
|
@ -30,8 +30,7 @@ Extract::~Extract()
|
|||
file_analysis::Analyzer* Extract::Instantiate(RecordVal* args, File* file)
|
||||
{
|
||||
using BifType::Record::FileAnalysis::AnalyzerArgs;
|
||||
const char* field = "extract_filename";
|
||||
Val* v = args->Lookup(AnalyzerArgs->FieldOffset(field));
|
||||
Val* v = args->Lookup(AnalyzerArgs->FieldOffset("extract_filename"));
|
||||
|
||||
if ( ! v )
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue