X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=nntp%2Fnntp.c;h=24850c8b9663e13f85718cf0112d02e25864ef64;hb=9aae63e2d1cce39bb0928362416a8d17b953ca5e;hp=2b9ead7da3a05f1840fa40c333ebd02d196dac02;hpb=7f7a0be369840b290248e5b0302beb447fa1b3cd;p=apps%2Fmadmutt.git diff --git a/nntp/nntp.c b/nntp/nntp.c index 2b9ead7..24850c8 100644 --- 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);