Getting rid of useless settings.
[apps/madmutt.git] / sendlib.c
index 0889c89..5ac02ab 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -29,7 +29,7 @@
 #include "mutt_idna.h"
 
 #ifdef USE_NNTP
-#include <nntp/nntp.h>
+#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
   {