X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=sendlib.c;h=5ac02ab9a8c17b09764fcebb032fc9bc80586417;hb=f2fdbd5e7c6bf27192a53de395ad79c281c4a766;hp=d55da0a75fd01436ffe8bd942697a0abe590b6f0;hpb=546a6855b7d44c415cb397e3a62f6a854132a0dd;p=apps%2Fmadmutt.git diff --git a/sendlib.c b/sendlib.c index d55da0a..5ac02ab 100644 --- a/sendlib.c +++ b/sendlib.c @@ -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 {