Getting rid of useless settings.
[apps/madmutt.git] / sendlib.c
index d55da0a..5ac02ab 100644 (file)
--- 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
   {