added compiler-soothing parentheses
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 13 Sep 2007 08:22:37 +0000 (08:22 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 13 Sep 2007 08:22:37 +0000 (08:22 -0000)
src/pluto/spdb.c

index 9965851..e3fc817 100644 (file)
@@ -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)
                    {