Fix to MXS-183: Fixed wrong pointer being used for logging error message

The wrong pointer was used when logging an error message about a bad parameter.
This commit is contained in:
Markus Makela 2015-12-23 12:32:45 +02:00
parent 4b7cec504a
commit 2b6b8f87db

View File

@ -1940,7 +1940,7 @@ process_config_update(CONFIG_CONTEXT *context)
"count or\n\t<int>%% for specifying the "
"maximum percentage of available the "
"slaves that will be connected.",
((SERVICE*)obj->element)->name,
service->name,
param->name,
param->value);
}
@ -1978,7 +1978,7 @@ process_config_update(CONFIG_CONTEXT *context)
"for parameter \'%s.%s = %s\'\n\tExpected "
"type is <int> for maximum "
"slave replication lag.",
((SERVICE*)obj->element)->name,
service->name,
param->name,
param->value);
}