From: Ondřej Kuzník Date: Fri, 2 Sep 2022 11:56:25 +0000 (+0100) Subject: ITS#9907 Do not redefine variables inherited from slapd X-Git-Tag: OPENLDAP_REL_ENG_2_6_4~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a35b935ab83bb12788f206838428724fbf47745b;p=thirdparty%2Fopenldap.git ITS#9907 Do not redefine variables inherited from slapd --- diff --git a/servers/lloadd/config.c b/servers/lloadd/config.c index 1d64c58d5a..377d7dac64 100644 --- a/servers/lloadd/config.c +++ b/servers/lloadd/config.c @@ -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 ) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 8bb5376082..7c296ba46f 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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)