X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=inline;f=sendlib.c;h=e6c03594438b93d8255498d8da6d049e10b16efd;hb=06797b065bbd5d88bf473c4b9f8525dcb9990bb7;hp=2afe601dd83e5e852139e1f03f50947e2320e94e;hpb=ccf2b75a9ed50a79c4d8e5d6235c7313fcd3719a;p=apps%2Fmadmutt.git diff --git a/sendlib.c b/sendlib.c index 2afe601..e6c0359 100644 --- a/sendlib.c +++ b/sendlib.c @@ -31,6 +31,8 @@ #include #include +#include + #include #include @@ -2024,11 +2026,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;