Fix examplefilter
It used the old configuration parameter code.
This commit is contained in:
parent
bf2d6673bc
commit
114c172387
@ -62,7 +62,7 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
||||
|
||||
ExampleFilter::ExampleFilter(const MXS_CONFIG_PARAMETER* pParams)
|
||||
{
|
||||
m_collect_global_counts = config_get_bool(pParams, CN_COUNT_GLOBALS);
|
||||
m_collect_global_counts = pParams->get_bool(CN_COUNT_GLOBALS);
|
||||
}
|
||||
|
||||
ExampleFilter::~ExampleFilter()
|
||||
@ -126,4 +126,4 @@ void ExampleFilter::reply_seen()
|
||||
{
|
||||
m_total_replies.fetch_add(1, std::memory_order_relaxed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user