code of message_t cleaned and added more logs

This commit is contained in:
Jan Hutter committed 2005-11-30 12:58:57 +00:00
1 parent bc7883029a
commit f603933427
6 files changed
+260 -110

No files matched your search

+2 -2
View File
@@ -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);