MXS-2304 Config string handling cleanup

Using correct functions in most cases.
This commit is contained in:
Esa Korhonen
2019-02-04 12:58:18 +02:00
parent 4132c9bbbc
commit 5a409f313a
18 changed files with 50 additions and 50 deletions

View File

@ -104,7 +104,7 @@ bool RCR::configure(MXS_CONFIG_PARAMETER* params)
uint64_t bitvalue = 0;
bool ok = true;
for (const auto& opt : mxs::strtok(config_get_string(params, "router_options"), ", \t"))
for (const auto& opt : mxs::strtok(params->get_string("router_options"), ", \t"))
{
if (!strcasecmp(opt.c_str(), "master"))
{