summaryrefslogtreecommitdiff
path: root/libmu_scm/mu_message.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmu_scm/mu_message.c')
-rw-r--r--libmu_scm/mu_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmu_scm/mu_message.c b/libmu_scm/mu_message.c
index 76597ab1d..e99fb1787 100644
--- a/libmu_scm/mu_message.c
+++ b/libmu_scm/mu_message.c
@@ -270,7 +270,7 @@ SCM_DEFINE (mu_message_set_header, "mu-message-set-header", 3, 1, 0,
}
message_get_header (msg, &hdr);
- header_set_value (hdr, SCM_STRING_CHARS (HEADER), strdup (SCM_STRING_CHARS (VALUE)),
+ header_set_value (hdr, SCM_STRING_CHARS (HEADER), SCM_STRING_CHARS (VALUE),
replace);
return SCM_UNSPECIFIED;
}

Return to:

Send suggestions and report system problems to the System administrator.