else
#endif
mutt_expand_path (fname, sizeof (fname));
- if (mx_get_magic (fname) != M_IMAP)
- if (mx_get_magic (fname) != M_POP)
+ if (mx_get_magic (fname) != M_IMAP && mx_get_magic (fname) != M_POP) {
#ifdef USE_NNTP
if (mx_get_magic (fname) != M_NNTP && !option (OPTNEWS))
#endif
mutt_perror (fname);
break;
}
+ }
menu->redraw = REDRAW_FULL;
mx_close_mailbox (ctx, NULL);
p_delete(&ctx);
mutt_error _("No messages in that folder.");
-
break;
}
update_idx (menu, idx, idxlen++);
else {
mutt_error _("Unable to attach!");
-
p_delete(&idx[idxlen]);
}
}
srand48 (time (NULL));
umask (077);
- p_clear(Options, countof(Options));
- p_clear(QuadOptions, countof(QuadOptions));
-
while ((i = getopt(argc, argv, "a:b:F:f:c:e:H:s:i:hnpRTtvyzZ"
#ifdef USE_NNTP
"g:G"