From: Kurt Zeilenga Date: Mon, 28 Jan 2002 20:22:57 +0000 (+0000) Subject: Remove lint X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97e29c023edd8dabc87038e3f6cc01d5ca704176;p=openldap Remove lint --- 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;