From 16b9a73cc4bd4c4fafc8618fdd4c05ab72195df1 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 16 Mar 2006 15:25:06 +0000 Subject: - reworked configuration framework completly - configuration is now split up in: connections, policies, credentials and daemon config - further alloc/free fixes needed! --- Source/charon/encoding/generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/charon/encoding/generator.c') diff --git a/Source/charon/encoding/generator.c b/Source/charon/encoding/generator.c index ff72190dd..7b65223bf 100644 --- a/Source/charon/encoding/generator.c +++ b/Source/charon/encoding/generator.c @@ -540,7 +540,7 @@ static void generate_from_chunk (private_generator_t *this,u_int32_t offset) /* position in buffer */ chunk_t *attribute_value = (chunk_t *)(this->data_struct + offset); - this->logger->log_chunk(this->logger, RAW|LEVEL2, " =>", attribute_value); + this->logger->log_chunk(this->logger, RAW|LEVEL2, " =>", *attribute_value); /* use write_bytes_to_buffer function to do the job */ this->write_bytes_to_buffer(this,attribute_value->ptr,attribute_value->len); @@ -633,7 +633,7 @@ static void write_to_chunk (private_generator_t *this,chunk_t *data) memcpy(data->ptr,this->buffer,data_length); data->len = data_length; - this->logger->log_chunk(this->logger, RAW|LEVEL3, "generated data of this generator", data); + this->logger->log_chunk(this->logger, RAW|LEVEL3, "generated data of this generator", *data); } /** -- cgit v1.2.3