From: Kurt Zeilenga Date: Fri, 22 Jan 1999 01:53:39 +0000 (+0000) Subject: initialize nextid with NOID not -1. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~719 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5389e40ba5752cede2aa42697e96583e1f5ea2d6;p=openldap initialize nextid with NOID not -1. --- diff --git a/servers/slapd/back-ldbm/init.c b/servers/slapd/back-ldbm/init.c index d9e1061762..aecffaddc6 100644 --- a/servers/slapd/back-ldbm/init.c +++ b/servers/slapd/back-ldbm/init.c @@ -27,7 +27,7 @@ ldbm_back_init( li = (struct ldbminfo *) ch_calloc( 1, sizeof(struct ldbminfo) ); /* arrange to read nextid later (on first request for it) */ - li->li_nextid = -1; + li->li_nextid = NOID; /* default cache size */ li->li_cache.c_maxsize = DEFAULT_CACHE_SIZE;