From 5389e40ba5752cede2aa42697e96583e1f5ea2d6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 22 Jan 1999 01:53:39 +0000 Subject: [PATCH] initialize nextid with NOID not -1. --- servers/slapd/back-ldbm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5