MXS-2555 uncrustify mysql_common.cc, and a minor bug fix in smartrouter.cc

This commit is contained in:
Niclas Antti
2019-06-16 13:08:16 +03:00
parent 6a7b6d4b89
commit 56e5c417c1
2 changed files with 11 additions and 11 deletions

View File

@ -104,7 +104,7 @@ bool SmartRouter::Config::post_configure(const MXS_CONFIG_PARAMETER& params)
if (pServer->address[0] != '/')
{
if (strcmp(pServer->address, "127.0.0.1") == 0 || strcmp(pServer->address, "localhost"))
if (strcmp(pServer->address, "127.0.0.1") == 0 || strcmp(pServer->address, "localhost") == 0)
{
MXS_WARNING("The server %s, used by the smartrouter %s, is currently accessed "
"using a TCP/IP socket (%s:%d). For better performance, a Unix "