third parameter was not copied
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 2 Mar 2013 21:03:07 +0000 (22:03 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 2 Mar 2013 21:03:07 +0000 (22:03 +0100)
src/libimcv/imv/imv_reason_string.c

index 18eade0..d1447ec 100644 (file)
@@ -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