initialize nextid with NOID not -1.

This commit is contained in:
Kurt Zeilenga 1999-01-22 01:53:39 +00:00
parent 2318ea0fd6
commit 5389e40ba5

View file

@ -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;