From b55310b3a86233ccdabe5f62ed9b00348613c78a Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 10 Nov 2010 15:44:09 +0100 Subject: [PATCH] append any previously collection messages to batch --- src/libcharon/plugins/tnccs_20/tnccs_20.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcharon/plugins/tnccs_20/tnccs_20.c b/src/libcharon/plugins/tnccs_20/tnccs_20.c index 04bf2a2d0..158b5289b 100644 --- a/src/libcharon/plugins/tnccs_20/tnccs_20.c +++ b/src/libcharon/plugins/tnccs_20/tnccs_20.c @@ -117,7 +117,7 @@ METHOD(tls_t, build, status_t, char *msg = this->is_server ? "tncs->tncc 2.0|" : "tncc->tncs 2.0|"; size_t len; - this->batch = chunk_clone(chunk_create(msg, strlen(msg))); + this->batch = chunk_cat("cm", chunk_create(msg, strlen(msg)), this->batch); if (!this->is_server && !this->connection_id) {