X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=95a7d1d9905d65bd9dc71cff9cd72ed90db7a1da;hp=42718495c660f2cff7688b4713ea7b812cfd6718;hb=c25bc063f35aaad6938c2022dae7a283346c2769;hpb=364bf52ada05bf7d7158dba9d2391f63b71258f6 diff --git a/commands.c b/commands.c index 4271849..95a7d1d 100644 --- a/commands.c +++ b/commands.c @@ -155,8 +155,16 @@ int mutt_display_message (HEADER * cur) mutt_wait_filter (filterpid); safe_fclose (&fpfilterout); } +#if 0 + /* this is maybe just plain wrong but it makes the pager display + * what we have; i.e. for the crypto stuff we only get + * 'Could not copy message' for invalid passphrases, no PGP output + * not nothing; so just display what we have... + * - pdmef + */ mutt_unlink (tempfile); return 0; +#endif } if (fpfilterout != NULL && mutt_wait_filter (filterpid) != 0) @@ -342,8 +350,8 @@ static void pipe_msg (HEADER * h, FILE * fp, int decode, int print) /* the following code is shared between printing and piping */ -static int _mutt_pipe_message (HEADER * h, char *cmd, - int decode, int print, int split, char *sep) +static int _mutt_pipe_message(HEADER * h, char *cmd, int decode, int print, + int split, const char *sep) { int i, rc = 0; @@ -587,11 +595,11 @@ void mutt_enter_command (void) void mutt_display_address (ENVELOPE * env) { - char *pfx = NULL; + const char *pfx = NULL; char buf[SHORT_STRING]; ADDRESS *adr = NULL; - adr = mutt_get_address (env, &pfx); + adr = mutt_get_address(env, &pfx); if (!adr) return;