[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: casting is_entry_foo() to int



Kurt D. Zeilenga writes:
> How about
> 
> #define is_entry_foo(e) \
>         (((e)->e_ocflags & SLAP_OC__END) \
>                 ? (((e)->e_ocflags & SLAP_OC_FOO) ? 1 : 0) \
>                 : is_entry_objectclass((e), slap_schema.si_oc_foo, 1))

Fine by me.  If so I'll change oc.c:is_entry_objectclass() to
return the same, since that also converts the value to int.

-- 
Hallvard