MXS-2220 Use std::string for protocol and authenticator fields

This commit is contained in:
Esa Korhonen
2018-12-19 18:43:55 +02:00
parent 40485d746c
commit ca9c52944b
12 changed files with 44 additions and 39 deletions

View File

@ -295,7 +295,7 @@ static bool process_argument(const MODULECMD* cmd,
if ((arg->value.server = server_find_by_unique_name((char*)value)))
{
if (MODULECMD_ALLOW_NAME_MISMATCH(type)
|| strcmp(cmd->domain, arg->value.server->protocol) == 0)
|| (arg->value.server->protocol() == cmd->domain))
{
arg->type.type = MODULECMD_ARG_SERVER;
rval = true;