projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drop the old string API fully.
[apps/madmutt.git]
/
headers.c
diff --git
a/headers.c
b/headers.c
index
a3476a8
..
a9be3cd
100644
(file)
--- a/
headers.c
+++ b/
headers.c
@@
-144,7
+144,7
@@
void mutt_edit_headers (const char *editor,
p = vskipspaces(cur->data + 7);
if (*p) {
if ((q = strpbrk (p, " \t"))) {
-
str_substrcpy(path, p, q, sizeof(path)
);
+
m_strncpy(path, sizeof(path), p, q - p
);
q = vskipspaces(q);
}
else