8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 02:03:04 +01:00
This commit is contained in:
robocop 2015-03-23 04:29:37 +00:00
parent 64d146a06f
commit 220446675b

View File

@ -148,7 +148,8 @@ inline unsigned short SockAddr::family() const
inline unsigned short SockAddr::port() const
{
switch (family()) {
switch (family())
{
case AF_INET:
return ntohs(data.inet.sin_port);
case AF_INET6: