From: Howard Chu Date: Sat, 19 Jan 2002 04:32:43 +0000 (+0000) Subject: Fix previous commit X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~64 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e040c2dee0fa18fc09538c4a9450986fdc3aee0e;p=openldap Fix previous commit --- diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index d41c9c2bb3..e28c953560 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -624,20 +624,20 @@ LDAP_SLAPD_F (int) is_object_subclass LDAP_P(( LDAP_SLAPD_F (int) is_entry_objectclass LDAP_P(( Entry *, ObjectClass *oc, int set_flags )); #define is_entry_alias(e) \ - ((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_ALIAS) : \ - is_entry_objectclass((e), slap_schema.si_oc_alias, 1) + (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_ALIAS) : \ + is_entry_objectclass((e), slap_schema.si_oc_alias, 1)) #define is_entry_referral(e) \ - ((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_REFERRAL) : \ - is_entry_objectclass((e), slap_schema.si_oc_referral, 1) + (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_REFERRAL) : \ + is_entry_objectclass((e), slap_schema.si_oc_referral, 1)) #define is_entry_subentry(e) \ - ((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_SUBENTRY) : \ - is_entry_objectclass((e), slap_schema.si_oc_subentry, 1) + (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_SUBENTRY) : \ + is_entry_objectclass((e), slap_schema.si_oc_subentry, 1)) #define is_entry_collectiveAttributes(e) \ - ((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_COLLECTIVEATTRIBUTES) : \ - is_entry_objectclass((e), slap_schema.si_oc_collectiveAttributes, 1) + (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_COLLECTIVEATTRIBUTES) : \ + is_entry_objectclass((e), slap_schema.si_oc_collectiveAttributes, 1)) #define is_entry_dynamicObject(e) \ - ((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_DYNAMICOBJECT) : \ - is_entry_objectclass((e), slap_schema.si_oc_dynamicObject, 1) + (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_DYNAMICOBJECT) : \ + is_entry_objectclass((e), slap_schema.si_oc_dynamicObject, 1)) LDAP_SLAPD_F (int) oc_schema_info( Entry *e );