about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-04-27 02:04:05 +0100
committerJames Booth <boothj5@gmail.com>2014-04-27 02:04:05 +0100
commit183c373c66662f88137b2768ef67d7ee46958963 (patch)
tree8219fa14e58b04e439c6d3d9ca886bc10b53391b /src/otr
parent2bc19f4669f820ff952a9d1b02055e93891d99b4 (diff)
downloadprofani-tty-183c373c66662f88137b2768ef67d7ee46958963.tar.gz
Fixed error on SMP authentication fail
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c2
1 files changed, 1 insertions, 1 deletions
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);
     }