]> git.sur5r.net Git - openldap/commitdiff
more checks
authorPierangelo Masarati <ando@openldap.org>
Sun, 14 May 2006 16:29:49 +0000 (16:29 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 14 May 2006 16:29:49 +0000 (16:29 +0000)
servers/slapd/back-meta/search.c

index f599039daf7a1a0c3faf76b6e392b632cfbf5a99..45c16240bd47d1f2894e23951e3d9d5af3f2002d 100644 (file)
@@ -395,6 +395,7 @@ meta_back_search_start(
         * Starts the search
         */
 retry:;
+       assert( msc->msc_ld != NULL );
        rc = ldap_search_ext( msc->msc_ld,
                        mbase.bv_val, realscope, mfilter.bv_val,
                        mapped_attrs, op->ors_attrsonly,