MXS-2246 Remove duplicate info in SERVICE and Service
Both of them contained fields for the service and router names. Now the names are in SERVICE and they must be accessed via member function.
This commit is contained in:
@ -276,7 +276,7 @@ static bool process_argument(const MODULECMD* cmd,
|
||||
if ((arg->value.service = service_find((char*)value)))
|
||||
{
|
||||
if (MODULECMD_ALLOW_NAME_MISMATCH(type)
|
||||
|| strcmp(cmd->domain, arg->value.service->routerModule) == 0)
|
||||
|| strcmp(cmd->domain, arg->value.service->router_name()) == 0)
|
||||
{
|
||||
arg->type.type = MODULECMD_ARG_SERVICE;
|
||||
rval = true;
|
||||
|
Reference in New Issue
Block a user