]> git.sur5r.net Git - openldap/commitdiff
Add missing parens around Debug macro parameter
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 14 Mar 1999 07:15:58 +0000 (07:15 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 14 Mar 1999 07:15:58 +0000 (07:15 +0000)
include/ldap_log.h

index 3a33843206f1e4f26f3d4b224f37c005d6804ca1..8761eb38cf7d089aea2640ea6172c0763ea8bb13 100644 (file)
@@ -61,7 +61,7 @@ extern int    ldap_syslog_level;
        { \
                if ( ldap_debug & (level) ) \
                        fprintf( stderr, (fmt), (arg1), (arg2), (arg3) ); \
-               if ( ldap_syslog & level ) \
+               if ( ldap_syslog & (level) ) \
                        syslog( ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ); \
        }
 #else /* LDAP_SYSLOG */