Use the AutoLocker defined by the super class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21609 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -815,7 +815,7 @@ UdpEndpoint::Open()
|
|||||||
{
|
{
|
||||||
TRACE_EP("Open()");
|
TRACE_EP("Open()");
|
||||||
|
|
||||||
BenaphoreLocker _(fLock);
|
AutoLocker _(fLock);
|
||||||
|
|
||||||
status_t status = ProtocolSocket::Open();
|
status_t status = ProtocolSocket::Open();
|
||||||
if (status < B_OK)
|
if (status < B_OK)
|
||||||
|
|||||||
Reference in New Issue
Block a user