[9488] Fixed semaphore locking on non-posix systems

This commit is contained in:
arrai 2010-02-28 23:39:19 +01:00
parent 9811c0d0e3
commit 5df9eaff8b
3 changed files with 10 additions and 8 deletions

View file

@ -129,7 +129,11 @@ int ns1__executeCommand(soap* soap, char* command, char** result)
// wait for callback to complete command
connection.pendingCommands.acquire();
int acc = connection.pendingCommands.acquire();
if(acc)
{
sLog.outError("MaNGOSsoap: Error while acquiring lock, acc = %i, errno = %u", acc, errno);
}
// alright, command finished