From 7927ffe7f352c746868b9179154808c129cd76cd Mon Sep 17 00:00:00 2001
From: Hallvard Furuseth <hallvard@openldap.org>
Date: Sun, 14 Mar 1999 07:15:58 +0000
Subject: [PATCH] Add missing parens around Debug macro parameter

---
 include/ldap_log.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/ldap_log.h b/include/ldap_log.h
index 3a33843206..8761eb38cf 100644
--- a/include/ldap_log.h
+++ b/include/ldap_log.h
@@ -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 */
-- 
GitLab