aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/sa/ike_sa_id.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-29 08:08:03 +0000
committerMartin Willi <martin@strongswan.org>2005-11-29 08:08:03 +0000
commitdf3c59d0889a337eff9f994e92a5dc165ba1729f (patch)
tree7973747444155ea669e3f2dc1177b9b2eb3fc8a1 /Source/charon/sa/ike_sa_id.c
parented37dee61daf5bb272c04b79787da282abaa9447 (diff)
downloadstrongswan-df3c59d0889a337eff9f994e92a5dc165ba1729f.tar.bz2
strongswan-df3c59d0889a337eff9f994e92a5dc165ba1729f.tar.xz
- changed allocation behavior
Diffstat (limited to 'Source/charon/sa/ike_sa_id.c')
-rw-r--r--Source/charon/sa/ike_sa_id.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/charon/sa/ike_sa_id.c b/Source/charon/sa/ike_sa_id.c
index f5c93cf47..ebc721918 100644
--- a/Source/charon/sa/ike_sa_id.c
+++ b/Source/charon/sa/ike_sa_id.c
@@ -56,7 +56,6 @@ struct private_ike_sa_id_t {
};
-
/**
* implements ike_sa_id_t.set_responder_spi.
*/
@@ -94,7 +93,7 @@ static u_int64_t get_responder_spi (private_ike_sa_id_t *this)
*/
static bool equals (private_ike_sa_id_t *this, private_ike_sa_id_t *other)
{
- if ((this == NULL)||(other == NULL))
+ if (other == NULL)
{
return FALSE;
}