Fix examplefilter
It used the old configuration parameter code.
This commit is contained in:
@ -62,7 +62,7 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
|||||||
|
|
||||||
ExampleFilter::ExampleFilter(const MXS_CONFIG_PARAMETER* pParams)
|
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()
|
ExampleFilter::~ExampleFilter()
|
||||||
@ -126,4 +126,4 @@ void ExampleFilter::reply_seen()
|
|||||||
{
|
{
|
||||||
m_total_replies.fetch_add(1, std::memory_order_relaxed);
|
m_total_replies.fetch_add(1, std::memory_order_relaxed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user