summaryrefslogtreecommitdiff
path: root/local.c
diff options
context:
space:
mode:
Diffstat (limited to 'local.c')
-rw-r--r--local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/local.c b/local.c
index 0937178..494d163 100644
--- a/local.c
+++ b/local.c
@@ -97,7 +97,7 @@ void local_init(message_t *message)
/* get From address for %F */
if (strstr(before, "%F"))
{
- from = xstrdup(message->reverse_path);
+ from = xstrdup(message->reverse_path ? message->reverse_path : "");
sanitize(from);