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:
Russell Bryant 2007-06-12 20:00:39 +00:00
parent febc05b1f7
commit 33c66c4e77
1 changed files with 1 additions and 1 deletions

View File

@ -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)