mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +01:00
Misc.
This commit is contained in:
parent
64d146a06f
commit
220446675b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user