Put parenthesis around the level argument to ast_debug()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
febc05b1f7
commit
33c66c4e77
|
@ -135,7 +135,7 @@ void ast_console_toggle_mute(int fd);
|
|||
* to get logged
|
||||
*/
|
||||
#define ast_debug(level, ...) do { \
|
||||
if (option_debug >= level) { \
|
||||
if (option_debug >= (level)) { \
|
||||
ast_log(LOG_DEBUG, __VA_ARGS__); \
|
||||
} \
|
||||
} while (0)
|
||||
|
|
Loading…
Reference in New Issue