From eeb69761ae80385e533065734bcda7914bb9efef Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Sat, 2 Mar 2013 22:03:07 +0100 Subject: [PATCH] third parameter was not copied --- src/libimcv/imv/imv_reason_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libimcv/imv/imv_reason_string.c b/src/libimcv/imv/imv_reason_string.c index 18eade01b..d1447ec35 100644 --- a/src/libimcv/imv/imv_reason_string.c +++ b/src/libimcv/imv/imv_reason_string.c @@ -51,7 +51,7 @@ METHOD(imv_reason_string_t, add_reason, void, if (this->reasons.len) { /* append any further reasons */ - this->reasons = chunk_cat("cm", this->reasons, chunk_from_chars('\n'), + this->reasons = chunk_cat("mcc", this->reasons, chunk_from_chars('\n'), chunk_create(s_reason, strlen(s_reason))); } else