* Forgot to implement the sockaddr* cast operator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38023 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
584866c82f
commit
54b6869f51
@ -975,3 +975,9 @@ BNetworkAddress::operator<(const BNetworkAddress& other) const
|
||||
|
||||
return Port() < other.Port();
|
||||
}
|
||||
|
||||
|
||||
BNetworkAddress::operator sockaddr*() const
|
||||
{
|
||||
return (sockaddr*)&fAddress;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user