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

Re: WAKE_LISTENER macro problem



I committed changes which I think are correct here.

At 11:09 AM 5/5/2005, Pierangelo Masarati wrote:
>The WAKE_LISTENER macro is defined in slapd/daemon.c with an arg without parentheses, which is &&ed to another expression and at line 481 it is passed an || expression.  As such, the result of that test may not be as intended:
><snip>
>daemon.c: In function `slapd_remove':
>daemon.c:481: warning: suggest parentheses around && within ||
></snip>
>Does anyone know what's the desired result, so that parentheses can be added where appropriate?
>
>p.
>
>
>   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497