]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/result.c
Relocate schema_init() call to main()
[openldap] / servers / slapd / result.c
index b1b2ec294c594a68cb8f7dfaa12b646cb8b945e8..65b5f3d9c163ccb4b418d82bf40520058963bb4c 100644 (file)
@@ -629,7 +629,7 @@ send_search_entry(
        int             opattrs;
 
 #ifdef SLAPD_SCHEMA_NOT_COMPAT
-       static AttributeDescription *entry = NULL;
+       AttributeDescription *entry = slap_ad_entry;
 #else
        static const char *entry = "entry";
 #endif