mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
And now it even compiles after my earlier changes.
This commit is contained in:
parent
b2b8df0ddd
commit
14ea780176
1 changed files with 8 additions and 8 deletions
|
@ -39,9 +39,7 @@ Raw::~Raw()
|
|||
void Raw::DoClose()
|
||||
{
|
||||
if ( file != 0 )
|
||||
{
|
||||
Close();
|
||||
}
|
||||
CloseInput();
|
||||
}
|
||||
|
||||
bool Raw::OpenInput()
|
||||
|
@ -140,11 +138,13 @@ bool Raw::DoInit(string path, ReaderMode mode, int num_fields, const Field* cons
|
|||
return false;
|
||||
}
|
||||
|
||||
result = Open();
|
||||
result = OpenInput();
|
||||
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
execute = false;
|
||||
result = Open();
|
||||
result = OpenInput();
|
||||
}
|
||||
|
||||
if ( result == false )
|
||||
|
@ -213,8 +213,8 @@ bool Raw::DoUpdate()
|
|||
break;
|
||||
}
|
||||
|
||||
Close();
|
||||
if ( ! Open() )
|
||||
CloseInput();
|
||||
if ( ! OpenInput() )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue