mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Replace direct checks of option_debug with DEBUG_ATLEAST macro.
Checking option_debug directly is incorrect as it ignores file/module specific debug settings. This system-wide change replaces nearly all direct checks for option_debug with the DEBUG_ATLEAST macro. Change-Id: Ic342d4799a945dbc40ac085ac142681094a4ebf0
This commit is contained in:
@@ -1174,8 +1174,7 @@ static int ooh323_answer(struct ast_channel *ast)
|
||||
p->alertsent = 1;
|
||||
}
|
||||
ast_setstate(ast, AST_STATE_UP);
|
||||
if (option_debug)
|
||||
ast_debug(1, "ooh323_answer(%s)\n", ast_channel_name(ast));
|
||||
ast_debug(1, "ooh323_answer(%s)\n", ast_channel_name(ast));
|
||||
ast_channel_unlock(ast);
|
||||
ooAnswerCall(p->callToken);
|
||||
}
|
||||
|
Reference in New Issue
Block a user