diff --git a/src/protocol.cpp b/src/protocol.cpp index 6672afde..c7ddefb6 100755 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -170,8 +170,8 @@ bool CProtocol::ParseMessage ( const CVector& vecbyData, /* return code: true -> ok; false -> error */ -// Mutex.lock(); -// { + Mutex.lock(); + { int iRecCounter, iRecID, iData; unsigned int iPos; CVector vecData; @@ -250,8 +250,8 @@ for ( int i = 0; i < iNumBytes; i++ ) { { return false; // return error code } -// } -// Mutex.unlock(); + } + Mutex.unlock(); } void CProtocol::CreateJitBufMes ( const int iJitBufSize )