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/cEvent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cEvent.cpp') diff --git a/source/cEvent.cpp b/source/cEvent.cpp index 9b3ddcfdf..bf3109cf4 100644 --- a/source/cEvent.cpp +++ b/source/cEvent.cpp @@ -44,7 +44,7 @@ cEvent::cEvent(void) } else { - if( sem_unlink( c_Str ) != 0 ) + if( sem_unlink(EventName.c_str()) != 0 ) { LOGWARN("ERROR: Could not unlink cEvent. (%i)", errno); } -- cgit v1.2.3