about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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);
     }