X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=sendlib.c;h=5ac02ab9a8c17b09764fcebb032fc9bc80586417;hb=f2fdbd5e7c6bf27192a53de395ad79c281c4a766;hp=0889c8942364e3534ea30a9bdbb1d9f8991bf1df;hpb=4f8cd7c03aba20081ae3403ee194ce7e54f224fd;p=apps%2Fmadmutt.git 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 {