From: Kurt Zeilenga Date: Fri, 4 Jun 1999 22:57:19 +0000 (+0000) Subject: Initialize connection pointer to NULL else won't be able to X-Git-Tag: OPENLDAP_REL_ENG_2_BP~400 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9a0caa6258ae3de88ee4a6d06510642668b1d3ca;p=openldap Initialize connection pointer to NULL else won't be able to detect connection table full properly. --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 4d35842062..bdbbe8c182 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -231,6 +231,8 @@ long connection_init( { int i; + c = NULL; + for( i=0; i < dtblsize; i++) { if( connections[i].c_struct_state == SLAP_C_UNINITIALIZED ) { assert( connections[i].c_sb == 0 );