BSocket: Fix swapped parameters in Bind().

Spotted by X512.
This commit is contained in:
Augustin Cavalier 2023-11-28 20:41:02 -05:00
parent 15a3f4c540
commit 611d3d7803

View File

@ -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);
}