[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
WAKE_LISTENER macro problem
- To: openldap-bugs@OpenLDAP.org
- Subject: WAKE_LISTENER macro problem
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Thu, 05 May 2005 20:09:08 +0200
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050209 LPT-Desktop/1.7.5-3.9.el3.lpt
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