mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user