mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-07 02:18:15 +00:00
Merge FreeBSD locking fixes (bug #1411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
dns.c
2
dns.c
@@ -154,7 +154,7 @@ static int dns_parse_answer(void *context,
|
||||
#if defined(res_ninit)
|
||||
#define HAS_RES_NINIT
|
||||
#else
|
||||
static ast_mutex_t res_lock = AST_MUTEX_INITIALIZER;
|
||||
AST_MUTEX_DEFINE_STATIC(res_lock);
|
||||
#if 0
|
||||
#warning "Warning, res_ninit is missing... Could have reentrancy issues"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user