diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-01 15:08:12 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-01 15:08:12 +0100 |
commit | cb1ce1416948bea94bd0bb4bb3a66a74cc16557b (patch) | |
tree | 9809332db528931f427a3ca6f46d46f561a644be /source/cEvent.cpp | |
parent | AString logging fix (diff) | |
download | cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.gz cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.bz2 cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.lz cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.xz cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.zst cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|