]> git.sur5r.net Git - openldap/commitdiff
fix dumb overparanoid test
authorPierangelo Masarati <ando@openldap.org>
Tue, 16 Jan 2007 11:30:24 +0000 (11:30 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 16 Jan 2007 11:30:24 +0000 (11:30 +0000)
servers/slapd/back-meta/conn.c

index 2a2412e9abd86eb6ebbddd8f35fa31be485af14b..49d94faccb3ce1acb25faf594e7c5b971541f397 100644 (file)
@@ -1699,7 +1699,7 @@ meta_back_release_conn_lock(
                        tmpmc = avl_delete( &mi->mi_conninfo.lai_tree,
                                ( caddr_t )mc, meta_back_conndnmc_cmp );
 
-                       assert( tmpmc == NULL && tmpmc == mc );
+                       assert( tmpmc == NULL || tmpmc == mc );
                }
 
                LDAP_BACK_CONN_CACHED_CLEAR( mc );