diff options
author | Michael Elkins <me@sigpipe.org> | 2010-08-09 09:38:27 -0700 |
---|---|---|
committer | Michael Elkins <me@sigpipe.org> | 2010-08-09 09:38:27 -0700 |
commit | bec81386da43443ee67c5918ae006df2c44fdf4e (patch) | |
tree | 07a31f6d58e8e30d171146645ebb3fe3d549b17f | |
parent | e9d84d96dc3ec3a11ab95a025c30418c7385e1ff (diff) |
clear the real name when $reverse_realname is unset and a match is hit so that
$realname can be set in a reply- or send-hook
closes #3427
-rw-r--r-- | send.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -939,10 +939,11 @@ static ADDRESS *set_reverse_name (ENVELOPE *env) if (tmp) { tmp = rfc822_cpy_adr_real (tmp); + /* when $reverse_realname is not set, clear the personal name so that it + * may be set vi a reply- or send-hook. + */ if (!option (OPTREVREAL)) FREE (&tmp->personal); - if (!tmp->personal) - tmp->personal = safe_strdup (Realname); } return (tmp); } |