From cb1ce1416948bea94bd0bb4bb3a66a74cc16557b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 1 Feb 2012 14:08:12 +0000 Subject: AString logging fix 2 git-svn-id: http://mc-server.googlecode.com/svn/trunk@218 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSemaphore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cSemaphore.cpp') diff --git a/source/cSemaphore.cpp b/source/cSemaphore.cpp index 438b83e2c..6fe8f6d5b 100644 --- a/source/cSemaphore.cpp +++ b/source/cSemaphore.cpp @@ -28,7 +28,7 @@ cSemaphore::cSemaphore( unsigned int a_MaxCount, unsigned int a_InitialCount /* } else { - if( sem_unlink( c_Str ) != 0 ) + if( sem_unlink(Name.c_str()) != 0 ) { LOG("ERROR: Could not unlink cSemaphore. (%i)", errno); } -- cgit v1.2.3