projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use safer p_clear when possible.
[apps/madmutt.git]
/
postpone.c
diff --git
a/postpone.c
b/postpone.c
index
f73fa4e
..
d63c146
100644
(file)
--- a/
postpone.c
+++ b/
postpone.c
@@
-511,7
+511,7
@@
int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr,
int rv = -1;
STATE s;
-
memset (&s, 0, sizeof (s)
);
+
p_clear(&s, 1
);
if (!fp && (msg = mx_open_message (ctx, hdr->msgno)) == NULL)
return (-1);