mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Session/Conn: Follow-up fix for hist_seen and history lift
Borked in commit b4e86f28b8
.
We don't need to initialize std::string explicitly either.
Thanks coverity!
This commit is contained in:
parent
2182ec03b3
commit
9a922d88b2
2 changed files with 1 additions and 3 deletions
|
@ -58,9 +58,6 @@ Connection::Connection(const detail::ConnKey& k, double t, const ConnTuple* id,
|
||||||
|
|
||||||
finished = 0;
|
finished = 0;
|
||||||
|
|
||||||
hist_seen = 0;
|
|
||||||
history = "";
|
|
||||||
|
|
||||||
adapter = nullptr;
|
adapter = nullptr;
|
||||||
primary_PIA = nullptr;
|
primary_PIA = nullptr;
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,7 @@ Session::Session(double t, EventHandlerPtr timeout_event, EventHandlerPtr status
|
||||||
timers_canceled = 0;
|
timers_canceled = 0;
|
||||||
inactivity_timeout = 0;
|
inactivity_timeout = 0;
|
||||||
installed_status_timer = 0;
|
installed_status_timer = 0;
|
||||||
|
hist_seen = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Session::Event(EventHandlerPtr f, analyzer::Analyzer* analyzer, const char* name) {
|
void Session::Event(EventHandlerPtr f, analyzer::Analyzer* analyzer, const char* name) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue