MXS-2220 Store server ports as integers and modify them in methods

This commit is contained in:
Esa Korhonen
2018-12-19 13:06:26 +02:00
parent 09aa54720d
commit 5fc2c1f49c
8 changed files with 31 additions and 59 deletions

View File

@ -1552,7 +1552,7 @@ void service_print_users(DCB* dcb, const SERVICE* service)
}
}
bool service_port_is_used(unsigned short port)
bool service_port_is_used(int port)
{
bool rval = false;
LockGuard guard(this_unit.lock);