From 183c373c66662f88137b2768ef67d7ee46958963 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 27 Apr 2014 02:04:05 +0100 Subject: [PATCH] Fixed error on SMP authentication fail --- src/otr/otr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/otr/otr.c b/src/otr/otr.c index fe87eed8..cd3388d2 100644 --- a/src/otr/otr.c +++ b/src/otr/otr.c @@ -363,7 +363,7 @@ _otr_trust(const char * const recipient) } if (context->active_fingerprint) { - context->active_fingerprint->trust = "trusted"; + context->active_fingerprint->trust = strdup("trusted"); cb_write_fingerprints(NULL); }