let m_strformat accept NULL formats.
[apps/madmutt.git] / nntp / newsrc.c
index d80b21d..306bf68 100644 (file)
@@ -346,8 +346,8 @@ NNTP_SERVER *mutt_select_newsserver (char *server)
   if (!conn)
     return NULL;
 
-  m_strformat(file, sizeof(file), NONULL(NewsRc), nntp_format_str, NULL, 0);
-  mutt_expand_path (file, sizeof (file));
+  m_strformat(file, sizeof(file), NewsRc, nntp_format_str, NULL, 0);
+  mutt_expand_path(file, sizeof(file));
 
   serv = (NNTP_SERVER *) conn->data;
   if (serv) {