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]
/
nntp
/
nntp.c
diff --git
a/nntp/nntp.c
b/nntp/nntp.c
index
2b9ead7
..
24850c8
100644
(file)
--- a/
nntp/nntp.c
+++ b/
nntp/nntp.c
@@
-848,7
+848,7
@@
int nntp_open_mailbox (CONTEXT * ctx)
unsigned int first;
ACCOUNT acct;
-
memset (&acct, 0, sizeof (ACCOUNT)
);
+
p_clear(&acct, 1
);
if (nntp_parse_url (ctx->path, &acct, buf, sizeof (buf)) < 0 || !*buf) {
mutt_error (_("%s is an invalid newsgroup specification!"), ctx->path);