projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oops, ascii_strncasecmp tried to compare one byte too far
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
82579d5
..
3b51b00
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-910,7
+910,7
@@
void mutt_set_followup_to (ENVELOPE * e)
from field */
static address_t *set_reverse_name (ENVELOPE * env)
{
from field */
static address_t *set_reverse_name (ENVELOPE * env)
{
- address_t *tmp;
+ address_t *tmp
= NULL
;
for (tmp = env->to; tmp; tmp = tmp->next) {
if (mutt_addr_is_user(tmp))
for (tmp = env->to; tmp; tmp = tmp->next) {
if (mutt_addr_is_user(tmp))
@@
-924,6
+924,8
@@
static address_t *set_reverse_name (ENVELOPE * env)
if (!mutt_addr_is_user(env->from))
return NULL;
if (!mutt_addr_is_user(env->from))
return NULL;
+ tmp = env->from;
+
found:
tmp = address_dup(tmp);
if (!option(OPTREVREAL) || !tmp->personal) {
found:
tmp = address_dup(tmp);
if (!option(OPTREVREAL) || !tmp->personal) {