aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/sa/states/responder_init.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-30 12:58:57 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-30 12:58:57 +0000
commitf603933427d874a34e0627ffb2998bd2da8650cf (patch)
tree0e206071da5ef581f614ca9ca4b0693fc1b437a4 /Source/charon/sa/states/responder_init.c
parentbc7883029a873f00c307e4ebe4f6f7e3f6620978 (diff)
downloadstrongswan-f603933427d874a34e0627ffb2998bd2da8650cf.tar.bz2
strongswan-f603933427d874a34e0627ffb2998bd2da8650cf.tar.xz
code of message_t cleaned and added more logs
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);