X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=e911feda3c497e446bb95744d003be653eedbd7f;hp=2afe601dd83e5e852139e1f03f50947e2320e94e;hb=dbacadf0ce81052365d7a43373ac7d4ac67ff91e;hpb=05a3bbbe420e4afc76e0eea24ce32f859405dc4a diff --git a/sendlib.c b/sendlib.c index 2afe601..e911fed 100644 --- a/sendlib.c +++ b/sendlib.c @@ -31,6 +31,9 @@ #include #include +#include +#include + #include #include @@ -2024,11 +2027,8 @@ static int mutt_invoke_sendmail (address_t * from, /* the sender */ if ((i = send_msg (path, args, msg, &childout)) != (EX_OK & 0xff)) { if (i != S_BKG) { - const char *e = mutt_strsysexit (i); - - e = mutt_strsysexit (i); mutt_error (_("Error sending message, child exited %d (%s)."), i, - NONULL (e)); + m_strsysexit(i)); if (childout) { struct stat st;