From: Howard Chu Date: Fri, 6 May 2005 09:47:18 +0000 (+0000) Subject: Fix undefined attributetype initializer X-Git-Tag: OPENLDAP_AC_BP~717 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b47c11e2f640a7938f1c7fec0290227c76743de;p=openldap Fix undefined attributetype initializer --- diff --git a/servers/slapd/schema_prep.c b/servers/slapd/schema_prep.c index f3dcc051c1..c22c935a98 100644 --- a/servers/slapd/schema_prep.c +++ b/servers/slapd/schema_prep.c @@ -1009,12 +1009,13 @@ static AttributeType slap_at_undefined = { { "1.1.1", NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 1, 3, NULL }, /* LDAPAttributeType */ - { sizeof("UNDEFINED")-1, "UNDEFINED" }, /* cname */ + BER_BVC("UNDEFINED"), /* cname */ NULL, /* sup */ NULL, /* subtypes */ NULL, NULL, NULL, NULL, /* matching rules routines */ NULL, /* syntax (this may need to be defined) */ - (AttributeTypeSchemaCheckFN *) 0, /* schema check function */ + NULL, /* schema check function */ + NULL, /* oidmacro */ SLAP_AT_ABSTRACT|SLAP_AT_FINAL, /* mask */ { NULL }, /* next */ NULL /* attribute description */