From 97e29c023edd8dabc87038e3f6cc01d5ca704176 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 28 Jan 2002 20:22:57 +0000 Subject: [PATCH] Remove lint --- servers/slapd/back-monitor/listener.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-monitor/listener.c b/servers/slapd/back-monitor/listener.c index 8f90519121..7dc98bed55 100644 --- a/servers/slapd/back-monitor/listener.c +++ b/servers/slapd/back-monitor/listener.c @@ -47,7 +47,6 @@ monitor_subsys_listener_init( Entry *e, *e_listener, *e_tmp; int i; struct monitorentrypriv *mp; - struct berval bv[2]; Listener **l; assert( be != NULL ); @@ -125,6 +124,7 @@ monitor_subsys_listener_init( #ifdef HAVE_TLS if ( l[i]->sl_is_tls ) { + struct berval bv[2]; bv[1].bv_val = NULL; bv[0].bv_val = "TLS"; bv[0].bv_len = sizeof("TLS")-1; @@ -133,6 +133,7 @@ monitor_subsys_listener_init( #endif /* HAVE_TLS */ #ifdef LDAP_CONNECTIONLESS if ( l[i]->sl_is_udp ) { + struct berval bv[2]; bv[1].bv_val = NULL; bv[0].bv_val = "UDP"; bv[0].bv_len = sizeof("UDP")-1; -- 2.39.5