aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/sa/states/responder_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/sa/states/responder_init.c')
-rw-r--r--Source/charon/sa/states/responder_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/charon/sa/states/responder_init.c b/Source/charon/sa/states/responder_init.c
index c056502b3..35d85fddc 100644
--- a/Source/charon/sa/states/responder_init.c
+++ b/Source/charon/sa/states/responder_init.c
@@ -162,8 +162,8 @@ static status_t process_message(private_responder_init_t *this, message_t *messa
}
/* this is the first message we process, so copy host infos */
- message->get_source(message, &source);
- message->get_destination(message, &destination);
+ source = message->get_source(message);
+ destination = message->get_destination(message);
/* we need to clone them, since we destroy the message later */
my_host = destination->clone(destination);