X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=5ac02ab9a8c17b09764fcebb032fc9bc80586417;hp=0889c8942364e3534ea30a9bdbb1d9f8991bf1df;hb=c9b049f668148dab6ae90f32de6a4981f673bfa1;hpb=4f8cd7c03aba20081ae3403ee194ce7e54f224fd diff --git a/sendlib.c b/sendlib.c index 0889c89..5ac02ab 100644 --- a/sendlib.c +++ b/sendlib.c @@ -29,7 +29,7 @@ #include "mutt_idna.h" #ifdef USE_NNTP -#include +#include "nntp.h" #endif #ifdef HAVE_SYSEXITS_H @@ -1818,12 +1818,9 @@ int mutt_invoke_mta(address_t *from, address_t *to, address_t *cc, #ifdef USE_NNTP if (option (OPTNEWSSEND)) { - m_strformat(cmd, sizeof(cmd), 0, Inews, nntp_format_str, 0, 0); - if (m_strisempty(cmd)) { - i = nntp_post (msg); - unlink (msg); - return i; - } + i = nntp_post(msg); + unlink(msg); + return i; } else #endif {