From: Pierangelo Masarati Date: Sat, 10 Jul 2004 11:41:28 +0000 (+0000) Subject: make sure we only get here when everything is fine X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~92 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8a9c5bb0f81eedd87e0afcd964e34660b564c719;p=openldap make sure we only get here when everything is fine --- diff --git a/servers/slapd/back-bdb/ctxcsn.c b/servers/slapd/back-bdb/ctxcsn.c index 14c83edc0e..7c2b31ec36 100644 --- a/servers/slapd/back-bdb/ctxcsn.c +++ b/servers/slapd/back-bdb/ctxcsn.c @@ -50,6 +50,8 @@ bdb_csn_commit( size_t textlen = sizeof textbuf; EntryInfo *eip = NULL; + assert( !BER_BVISNULL( &op->o_bd->be_context_csn ) ); + if ( ei ) { e = ei->bei_e; }