mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Change {Get,Set}ContentsFile() to use IntrusivePtr
This commit is contained in:
parent
599eec297c
commit
0f5bb4b83d
9 changed files with 31 additions and 41 deletions
|
@ -1584,7 +1584,7 @@ void TCP_Analyzer::ConnDeleteTimer(double t)
|
|||
Conn()->DeleteTimer(t);
|
||||
}
|
||||
|
||||
void TCP_Analyzer::SetContentsFile(unsigned int direction, BroFile* f)
|
||||
void TCP_Analyzer::SetContentsFile(unsigned int direction, IntrusivePtr<BroFile> f)
|
||||
{
|
||||
if ( direction == CONTENTS_NONE )
|
||||
{
|
||||
|
@ -1601,7 +1601,7 @@ void TCP_Analyzer::SetContentsFile(unsigned int direction, BroFile* f)
|
|||
}
|
||||
}
|
||||
|
||||
BroFile* TCP_Analyzer::GetContentsFile(unsigned int direction) const
|
||||
IntrusivePtr<BroFile> TCP_Analyzer::GetContentsFile(unsigned int direction) const
|
||||
{
|
||||
switch ( direction ) {
|
||||
case CONTENTS_NONE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue