Fixed uninitialized Backend pointer.

This commit is contained in:
Kurt Zeilenga 1998-08-17 21:10:02 +00:00
parent e66aa92102
commit 401bd7495a
3 changed files with 7 additions and 7 deletions

View File

@ -117,7 +117,7 @@ EXTRALDFLAGS=-g
MAKESLAPD= yes
#
# remove the defines for backends you don't want to enable
SLAPD_BACKENDS= -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
SLAPD_BACKENDS= -DLDAP_LDBM # -DLDAP_SHELL -DLDAP_PASSWD
#
# If you have included -DLDAP_LDBM in the SLAPD_BACKENDS line you need
# to specify which low-level database package to use. There are
@ -199,13 +199,13 @@ LDAP_DEBUG=-DLDAP_DEBUG
LDAP_REFERRALS=-DLDAP_REFERRALS
# uncomment these lines to enable support for CRYPT passwords in LDBM.
#LDAP_CRYPT=-DLDAP_CRYPT
#LDAP_CRYPT_LIB=-lcrypt
LDAP_CRYPT=-DLDAP_CRYPT
LDAP_CRYPT_LIB=-lcrypt
# uncomment these lines to enable support fro tcp_wrappers in servers.
# Requires tcp_wrappers.
#LDAP_TCP_WRAPPERS=-DTCP_WRAPPERS -I/usr/local/include
#LDAP_TCP_WRAPPERS_LIB=-L/usr/local/lib -lwrap
LDAP_TCP_WRAPPERS=-DTCP_WRAPPERS -I/usr/local/include
LDAP_TCP_WRAPPERS_LIB=-L/usr/local/lib -lwrap
# uncomment this line to use soundex for approximate matches in slapd.
# the default is to use the metaphone algorithm.

View File

@ -63,7 +63,7 @@ main( int argc, char **argv )
int dbnum;
ID id;
struct dbcache *db, *db2;
Backend *be;
Backend *be = NULL;
struct berval bv;
struct berval *vals[2];
Avlnode *avltypes = NULL;

View File

@ -53,7 +53,7 @@ main( int argc, char **argv )
int lmax, lcur, indexmask, syntaxmask;
int dbnum;
unsigned long id;
Backend *be;
Backend *be = NULL;
struct berval bv;
struct berval *vals[2];
extern char *optarg;