X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=4c5219e38441c77e1ec7e58b5e6a93801b892f1b;hp=4fa7f7370e183aeb6a4b7ff1a223a9d3bd631acf;hb=129050c6742f6be13fa5635ba03542b7fb2a9525;hpb=20a3dd763b0692acb4fa0938af35db0da0cd5508 diff --git a/sendlib.c b/sendlib.c index 4fa7f73..4c5219e 100644 --- a/sendlib.c +++ b/sendlib.c @@ -1848,7 +1848,7 @@ static int mutt_invoke_sendmail (address_t * from, /* the sender */ mutt_FormatString (cmd, sizeof (cmd), NONULL (Inews), nntp_format_str, 0, 0); - if (!*cmd) { + if (m_strisempty(cmd)) { i = nntp_post (msg); unlink (msg); return i; @@ -2217,11 +2217,9 @@ int mutt_write_fcc (const char *path, HEADER * hdr, const char *msgid, fputc ('\n', msg->fp); } -#ifdef MIXMASTER /* (postponement) if the mail is to be sent through a mixmaster * chain, save that information */ - if (post && hdr->chain && hdr->chain) { string_list_t *p; @@ -2231,7 +2229,6 @@ int mutt_write_fcc (const char *path, HEADER * hdr, const char *msgid, fputc ('\n', msg->fp); } -#endif if (tempfp) { char sasha[LONG_STRING];