summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
15aeb79)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
else
#endif
mutt_expand_path (fname, sizeof (fname));
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
#ifdef USE_NNTP
if (mx_get_magic (fname) != M_NNTP && !option (OPTNEWS))
#endif
mutt_perror (fname);
break;
}
mutt_perror (fname);
break;
}
menu->redraw = REDRAW_FULL;
menu->redraw = REDRAW_FULL;
mx_close_mailbox (ctx, NULL);
p_delete(&ctx);
mutt_error _("No messages in that folder.");
mx_close_mailbox (ctx, NULL);
p_delete(&ctx);
mutt_error _("No messages in that folder.");
update_idx (menu, idx, idxlen++);
else {
mutt_error _("Unable to attach!");
update_idx (menu, idx, idxlen++);
else {
mutt_error _("Unable to attach!");
p_delete(&idx[idxlen]);
}
}
p_delete(&idx[idxlen]);
}
}
srand48 (time (NULL));
umask (077);
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"
while ((i = getopt(argc, argv, "a:b:F:f:c:e:H:s:i:hnpRTtvyzZ"
#ifdef USE_NNTP
"g:G"