[asterisk-commits] russell: trunk r69018 - /trunk/include/asterisk/logger.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jun 12 13:00:40 MST 2007


Author: russell
Date: Tue Jun 12 15:00:39 2007
New Revision: 69018

URL: http://svn.digium.com/view/asterisk?view=rev&rev=69018
Log:
Put parenthesis around the level argument to ast_debug()

Modified:
    trunk/include/asterisk/logger.h

Modified: trunk/include/asterisk/logger.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/logger.h?view=diff&rev=69018&r1=69017&r2=69018
==============================================================================
--- trunk/include/asterisk/logger.h (original)
+++ trunk/include/asterisk/logger.h Tue Jun 12 15:00:39 2007
@@ -135,7 +135,7 @@
  *        to get logged
  */
 #define ast_debug(level, ...) do {       \
-	if (option_debug >= level) {         \
+	if (option_debug >= (level)) {       \
 		ast_log(LOG_DEBUG, __VA_ARGS__); \
 	}                                    \
 } while (0)



More information about the asterisk-commits mailing list