From: Pierangelo Masarati Date: Thu, 13 May 2004 23:33:14 +0000 (+0000) Subject: fix schema initialization when built as module... X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~375 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=657e580bbe0c746f5a3619133c010378c8a9eda1;p=openldap fix schema initialization when built as module... --- diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index f7a8a5fc64..b458ab0807 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -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;