From 114c172387d135f17d833cf48dafb80699ef524b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Thu, 21 Mar 2019 18:39:40 +0200 Subject: [PATCH] Fix examplefilter It used the old configuration parameter code. --- examples/examplefilter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/examplefilter.cc b/examples/examplefilter.cc index 87993670b..824bc1849 100644 --- a/examples/examplefilter.cc +++ b/examples/examplefilter.cc @@ -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); } -} \ No newline at end of file +}