diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-28 20:29:47 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-28 20:29:47 +0000 |
commit | d048df5cabd2d17713230f260bccebb205740498 (patch) | |
tree | 5c08427945e6a94421e84deada90aac2065fde18 /Source/charon/network/packet.c | |
parent | 3fe058703ffe537dfdf68b9ad4d9143644230321 (diff) | |
download | strongswan-d048df5cabd2d17713230f260bccebb205740498.tar.bz2 strongswan-d048df5cabd2d17713230f260bccebb205740498.tar.xz |
- return value cleanup
Diffstat (limited to 'Source/charon/network/packet.c')
-rw-r--r-- | Source/charon/network/packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/charon/network/packet.c b/Source/charon/network/packet.c index ea7af27b6..f2d7ef721 100644 --- a/Source/charon/network/packet.c +++ b/Source/charon/network/packet.c @@ -76,7 +76,7 @@ static status_t clone (private_packet_t *this, packet_t **clone) if (this->public.destination != NULL) { - this->public.destination->clone(this->public.destination, &(other->destination)); + other->destination = this->public.destination->clone(this->public.destination); } else { other->destination = NULL; @@ -84,7 +84,7 @@ static status_t clone (private_packet_t *this, packet_t **clone) if (this->public.source != NULL) { - this->public.source->clone(this->public.source, &(other->source)); + other->source = this->public.source->clone(this->public.source); } else { other->source = NULL; |