X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=smime.c;h=aeef86380aef2c807bccaa04d7aaf7977c5e94e4;hp=0116684c57cd44f6b63e85dbdfd1f88a5a4f44eb;hb=f5b0e714a215eddd4d9f8084b434b713f0a580b4;hpb=ba5e3af4ea19e1d20c80941c077039871ec84258 diff --git a/smime.c b/smime.c index 0116684..aeef863 100644 --- a/smime.c +++ b/smime.c @@ -14,6 +14,8 @@ #endif #include "mutt.h" +#include "enter.h" +#include "handler.h" #include "mutt_curses.h" #include "mutt_menu.h" #include "smime.h" @@ -1859,11 +1861,9 @@ bail: } -void smime_application_smime_handler (BODY * m, STATE * s) +int smime_application_smime_handler (BODY * m, STATE * s) { - - smime_handle_entity (m, s, NULL); - + return smime_handle_entity (m, s, NULL) ? 0 : -1; } int smime_send_menu (HEADER * msg, int *redraw)