aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-09-13 08:22:37 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-09-13 08:22:37 +0000
commitc63bbdca320c16e7b649764e3bbe1cb2f32cfb92 (patch)
tree482d7689c380a635af38d82033489c0c804f0cde
parent6baca3b2f1d0863d0caf4c7dc63530907193267b (diff)
downloadstrongswan-c63bbdca320c16e7b649764e3bbe1cb2f32cfb92.tar.bz2
strongswan-c63bbdca320c16e7b649764e3bbe1cb2f32cfb92.tar.xz
added compiler-soothing parentheses
-rw-r--r--src/pluto/spdb.c4
1 files changed, 2 insertions, 2 deletions
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)
{