filterpid = mutt_create_filter_fd (DisplayFilter, &fpout, NULL, NULL,
-1, fileno (fpfilterout), -1);
if (filterpid < 0) {
filterpid = mutt_create_filter_fd (DisplayFilter, &fpout, NULL, NULL,
-1, fileno (fpfilterout), -1);
if (filterpid < 0) {
res = _mutt_copy_message (fpout, msg->fp, cur, cur->content, cmflags,
(option (OPTWEED) ? (CH_WEED | CH_REORDER) : 0) |
CH_DECODE | CH_FROM);
res = _mutt_copy_message (fpout, msg->fp, cur, cur->content, cmflags,
(option (OPTWEED) ? (CH_WEED | CH_REORDER) : 0) |
CH_DECODE | CH_FROM);
rc = mutt_bounce_message (NULL, h, adr);
address_list_wipe(&adr);
/* If no error, or background, display message. */
rc = mutt_bounce_message (NULL, h, adr);
address_list_wipe(&adr);
/* If no error, or background, display message. */
pipe_msg (h, fpout, decode, print);
m_fclose(&fpout);
rc = mutt_wait_filter (thepid);
pipe_msg (h, fpout, decode, print);
m_fclose(&fpout);
rc = mutt_wait_filter (thepid);
mutt_endwin (NULL);
if ((thepid = mutt_create_filter (cmd, &fpout, NULL, NULL)) < 0) {
mutt_perror (_("Can't create filter process"));
mutt_endwin (NULL);
if ((thepid = mutt_create_filter (cmd, &fpout, NULL, NULL)) < 0) {
mutt_perror (_("Can't create filter process"));
mutt_set_flag (Context, h, M_TAG, 0);
mutt_set_flag (Context, h, M_APPENDED, 1);
}
mutt_set_flag (Context, h, M_TAG, 0);
mutt_set_flag (Context, h, M_APPENDED, 1);
}
mutt_pretty_mailbox (buf);
if (mutt_enter_fname (prompt, buf, sizeof (buf), redraw, 0) == -1)
mutt_pretty_mailbox (buf);
if (mutt_enter_fname (prompt, buf, sizeof (buf), redraw, 0) == -1)
/* This is an undocumented feature of ELM pointed out to me by Felix von
* Leitner <leitner@prz.fu-berlin.de>
/* This is an undocumented feature of ELM pointed out to me by Felix von
* Leitner <leitner@prz.fu-berlin.de>
if (h) {
if (_mutt_save_message (h, &ctx, delete, decode, decrypt) != 0) {
mx_close_mailbox (&ctx, NULL);
if (h) {
if (_mutt_save_message (h, &ctx, delete, decode, decrypt) != 0) {
mx_close_mailbox (&ctx, NULL);
if (_mutt_save_message (Context->hdrs[Context->v2r[i]], &ctx, delete,
decode, decrypt) != 0) {
mx_close_mailbox (&ctx, NULL);
if (_mutt_save_message (Context->hdrs[Context->v2r[i]], &ctx, delete,
decode, decrypt) != 0) {
mx_close_mailbox (&ctx, NULL);