BSocket: Fix swapped parameters in Bind().
Spotted by X512.
This commit is contained in:
parent
15a3f4c540
commit
611d3d7803
@ -44,7 +44,7 @@ BSocket::~BSocket()
|
||||
status_t
|
||||
BSocket::Bind(const BNetworkAddress& local, bool reuseAddr)
|
||||
{
|
||||
return BAbstractSocket::Bind(local, SOCK_STREAM, reuseAddr);
|
||||
return BAbstractSocket::Bind(local, reuseAddr, SOCK_STREAM);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user