projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make m_dupstr return NULL if the string was empty.
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
bc84b6b
..
01fde6c
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-267,7
+267,7
@@
static int edit_envelope (ENVELOPE * en, int flags)
if (ascii_strncasecmp ("subject:", uh->data, 8) == 0) {
p = uh->data + 8;
SKIPWS (p);
if (ascii_strncasecmp ("subject:", uh->data, 8) == 0) {
p = uh->data + 8;
SKIPWS (p);
-
strncpy (buf, p, sizeof (buf)
);
+
m_strcpy(buf, sizeof(buf), p
);
}
}
}
}
}
}