Fix examplefilter

It used the old configuration parameter code.
This commit is contained in:
Markus Mäkelä 2019-03-21 18:39:40 +02:00
parent bf2d6673bc
commit 114c172387
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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);
}
}
}