]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
OC kind fix
authorKurt Zeilenga <kurt@openldap.org>
Sat, 3 Feb 2001 05:19:04 +0000 (05:19 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 3 Feb 2001 05:19:04 +0000 (05:19 +0000)
libraries/libldap/schema.c

index 47f873db8ac70f337081571c05edf95e79e9d0b3..e220456481d4b53222c10495e74c2e11309d2516 100644 (file)
@@ -1732,6 +1732,7 @@ ldap_str2objectclass( const char * s, int * code, const char ** errp, const int
                *code = LDAP_SCHERR_OUTOFMEM;
                return NULL;
        }
+       oc->oc_kind = LDAP_SCHEMA_STRUCTURAL;
 
        kind = get_token(&ss,&sval);
        if ( kind != TK_LEFTPAREN ) {