]> git.sur5r.net Git - openldap/blobdiff - include/ldap_log.h
ITS#6606
[openldap] / include / ldap_log.h
index 33eac0f87d763ac5aeb74809fb5a0a136fe12d44..85487b9262167ed5a6a307592d3a34db305d4622 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  * 
- * Copyright 1998-2006 The OpenLDAP Foundation.
+ * Copyright 1998-2010 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -123,7 +123,7 @@ LDAP_BEGIN_DECL
 #define LDAP_DEBUG_SYNC                0x4000
 
 #define LDAP_DEBUG_NONE                0x8000
-#define LDAP_DEBUG_ANY         -1
+#define LDAP_DEBUG_ANY         (-1)
 
 /* debugging stuff */
 #ifdef LDAP_DEBUG
@@ -226,7 +226,7 @@ extern void eb_syslog(int pri, const char *fmt, ...);
                        lutil_debug( ldap_debug, (level), (fmt), (arg1), (arg2), (arg3), (arg4), (arg5) ); \
        } while ( 0 )
 #define Debug( level, fmt, arg1, arg2, arg3 ) \
-               Log3( (level), (fmt), (arg1), (arg2), (arg3) )
+               Log3( (level), 0, (fmt), (arg1), (arg2), (arg3) )
 #define LogTest(level) ( ldap_debug & (level) )
 #endif /* ! LDAP_SYSLOG */
 #else /* ! LDAP_DEBUG */