]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9907 Do not redefine variables inherited from slapd
authorOndřej Kuzník <ondra@mistotebe.net>
Fri, 2 Sep 2022 11:56:25 +0000 (12:56 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 12 Sep 2022 20:45:15 +0000 (20:45 +0000)
servers/lloadd/config.c
servers/slapd/bconfig.c

index 1d64c58d5a7f6e1dace6d46f83af71bceb417df6..377d7dac64a88db875eff77070fad8e629173bc2 100644 (file)
@@ -1605,7 +1605,7 @@ config_fname( ConfigArgs *c )
 
 #ifdef LDAP_TCP_BUFFER
 static BerVarray tcp_buffer;
-int tcp_buffer_num;
+static int tcp_buffer_num;
 
 #define SLAP_TCP_RMEM ( 0x1U )
 #define SLAP_TCP_WMEM ( 0x2U )
index 8bb53760823eceff0380cef3008e9a4c8b48706d..7c296ba46f5a8f08698a4c2ed9de9b16902fcbd1 100644 (file)
@@ -2977,7 +2977,7 @@ config_subordinate(ConfigArgs *c)
 
 #ifdef LDAP_TCP_BUFFER
 static BerVarray tcp_buffer;
-int tcp_buffer_num;
+static int tcp_buffer_num;
 
 #define SLAP_TCP_RMEM (0x1U)
 #define SLAP_TCP_WMEM (0x2U)