]> git.sur5r.net Git - openldap/commitdiff
fix schema initialization when built as module...
authorPierangelo Masarati <ando@openldap.org>
Thu, 13 May 2004 23:33:14 +0000 (23:33 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 13 May 2004 23:33:14 +0000 (23:33 +0000)
servers/slapd/overlays/ppolicy.c

index f7a8a5fc644334102f41fd03887ce6d1134a2963..b458ab08076a8d3f1911cfdb30aaf81f267ea666 100644 (file)
@@ -1785,7 +1785,7 @@ ppolicy_db_init(
        slap_overinst *on = (slap_overinst *) be->bd_info;
 
        /* Has User Schema been initialized yet? */
-       if ( !pwd_UsSchema[0].ad ) {
+       if ( !pwd_UsSchema[0].ad[0] ) {
                const char *err;
                int i, code;