Removed a stray semicolon in the DEBUGADD() macro.
authorChristopher R. Hertel <crh@samba.org>
Tue, 11 Aug 1998 15:54:15 +0000 (15:54 +0000)
committerChristopher R. Hertel <crh@samba.org>
Tue, 11 Aug 1998 15:54:15 +0000 (15:54 +0000)
(This used to be commit efa67d6b2b6d4a1e007dba5f2f5da5aff723fe59)

source3/include/smb.h

index bc44fbdd2b6e76a1da069951f61925a111debf17..5d408719ae0d8d985aa909e2c4751c2620447ab7 100644 (file)
@@ -138,16 +138,16 @@ BOOL dbgtext();
  *                 DEBUGADD( 2, ("Some additional text.\n") );
  */
 #define DEBUGLVL( level ) \
-  ( (DEBUGLEVEL>=(level)) \
+  ( (DEBUGLEVEL >= (level)) \
    && dbghdr( level, FILE_MACRO, FUNCTION_MACRO, (__LINE__) ) )
 
 #define DEBUG( level, body ) \
-  ((DEBUGLEVEL>=(level) && \
-    dbghdr(level, FILE_MACRO, FUNCTION_MACRO, (__LINE__)))? \
-    (void)(dbgtext body) : (void)0)
+  ( ( DEBUGLEVEL >= (level) \
+   && dbghdr( level, FILE_MACRO, FUNCTION_MACRO, (__LINE__) ) ) \
+      ? (void)(dbgtext body) : (void)0 )
 
 #define DEBUGADD( level, body ) \
-     (DEBUGLEVEL>=(level)?(void)(dbgtext body) : (void)0);
+     ( (DEBUGLEVEL >= (level)) ? (void)(dbgtext body) : (void)0 )
 
 /* End Debugging code section.
  * -------------------------------------------------------------------------- **