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:
Ingo Weinhold
2007-07-15 00:49:04 +00:00
parent bf8e5ecab7
commit 119c6cdd0b
@@ -815,7 +815,7 @@ UdpEndpoint::Open()
{
TRACE_EP("Open()");
BenaphoreLocker _(fLock);
AutoLocker _(fLock);
status_t status = ProtocolSocket::Open();
if (status < B_OK)