mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Reformat the world
This commit is contained in:
parent
194cb24547
commit
b2f171ec69
714 changed files with 35149 additions and 35203 deletions
|
@ -1,10 +1,12 @@
|
|||
#include "zeek/EventRegistry.h"
|
||||
|
||||
#include "zeek/EventHandler.h"
|
||||
#include "zeek/Func.h"
|
||||
#include "zeek/RE.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
namespace zeek {
|
||||
namespace zeek
|
||||
{
|
||||
|
||||
EventRegistry::EventRegistry() = default;
|
||||
EventRegistry::~EventRegistry() noexcept = default;
|
||||
|
@ -103,9 +105,7 @@ void EventRegistry::PrintDebug()
|
|||
{
|
||||
EventHandler* v = entry.second.get();
|
||||
fprintf(stderr, "Registered event %s (%s handler / %s)\n", v->Name(),
|
||||
v->GetFunc() ? "local" : "no",
|
||||
*v ? "active" : "not active"
|
||||
);
|
||||
v->GetFunc() ? "local" : "no", *v ? "active" : "not active");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -123,4 +123,4 @@ void EventRegistry::SetErrorHandler(std::string_view name)
|
|||
std::string(name).c_str());
|
||||
}
|
||||
|
||||
} // namespace zeek
|
||||
} // namespace zeek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue