]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Wed, 26 Jan 2005 09:45:51 +0000 (09:45 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 26 Jan 2005 09:45:51 +0000 (09:45 +0000)
servers/slapd/back-relay/init.c

index 7ae96aecbb6fe800331698c65531838837add21d..d5a3d9ac15a5d4abacad01c05896079954e688ba 100644 (file)
@@ -102,7 +102,7 @@ relay_back_db_open( Backend *be )
                assert( ri->ri_bd );
 
                /* inherit controls */
-               if ( ri->ri_bd ) {
+               if ( ri->ri_bd->be_controls ) {
                        be->be_controls = ldap_charray_dup( ri->ri_bd->be_controls );
                }