From c63bbdca320c16e7b649764e3bbe1cb2f32cfb92 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 13 Sep 2007 08:22:37 +0000 Subject: added compiler-soothing parentheses --- src/pluto/spdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pluto/spdb.c b/src/pluto/spdb.c index 996585135..e3fc8177d 100644 --- a/src/pluto/spdb.c +++ b/src/pluto/spdb.c @@ -975,8 +975,8 @@ parse_isakmp_sa_body(u_int32_t ipsecdoisit lset_t iap = st->st_policy & POLICY_ID_AUTH_MASK; /* is the initiator the XAUTH client? */ - bool xauth_init = initiator && (st->st_policy & POLICY_XAUTH_SERVER) == LEMPTY - || !initiator && (st->st_policy & POLICY_XAUTH_SERVER) != LEMPTY; + bool xauth_init = ( initiator && (st->st_policy & POLICY_XAUTH_SERVER) == LEMPTY) + || (!initiator && (st->st_policy & POLICY_XAUTH_SERVER) != LEMPTY); switch (val) { -- cgit v1.2.3