[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Minor fixes in oc.c (ITS#573)
Full_Name: Christian Lorenz
Version: 2.0-devel
OS: linux-2.2.14
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.112.123.201)
In pkg/ldap/servers/slapd/oc.c,v 1.11:
--- oc.c.orig Wed May 31 16:22:32 2000
+++ oc.c Wed Jun 7 12:05:58 2000
@@ -74,9 +74,15 @@
if( attr == NULL ) {
/* no objectClass attribute */
+#ifdef SLAPD_SCHEMA_NOT_COMPAT
+ Debug( LDAP_DEBUG_ANY, "is_entry_objectclass(\"%s\", \"%s\") "
+ "no objectClass attribute\n",
+ e->e_dn == NULL ? "" : e->e_dn, oc->soc_oclass.oc_oid, 0 );
+#else
Debug( LDAP_DEBUG_ANY, "is_entry_objectclass(\"%s\", \"%s\") "
"no objectClass attribute\n",
e->e_dn == NULL ? "" : e->e_dn, oc, 0 );
+#endif
return 0;
}