mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Moved a few __delete_semaphore() calls into conditional compilation
sections where they should have been in the first place. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14869 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: socket_init_exit.c,v 1.14 2005-03-09 10:48:59 obarthel Exp $
|
||||
* $Id: socket_init_exit.c,v 1.15 2005-03-09 12:06:10 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -322,7 +322,11 @@ __socket_init(void)
|
||||
{
|
||||
SHOWMSG("could not duplicate daemon socket");
|
||||
|
||||
__delete_semaphore(lock);
|
||||
#if defined(__THREAD_SAFE)
|
||||
{
|
||||
__delete_semaphore(lock);
|
||||
}
|
||||
#endif /* __THREAD_SAFE */
|
||||
|
||||
__show_error("Network server streams could not be initialized.");
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user