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 );