X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=sendlib.c;h=73d41b3d43b62752877020eb2915b35e9b748df6;hb=418e55040ec4a95698a8f1f128f3afbfd6aba48b;hp=c7e8bfdfc5d7b6ff1f03cef3b3c23796e2e372e5;hpb=1eeaaac6bdcad962c41bf975a32078cc4a0e578c;p=apps%2Fmadmutt.git diff --git a/sendlib.c b/sendlib.c index c7e8bfd..73d41b3 100644 --- a/sendlib.c +++ b/sendlib.c @@ -1505,7 +1505,7 @@ int mutt_write_rfc822_header (FILE * fp, ENVELOPE * env, BODY * attach, os = (uname(&un) == -1) ? "UNIX" : un.sysname; } /* Add a vanity header */ - fprintf (fp, "User-Agent: %s (%s)\n", mutt_make_version (0), os); + fprintf (fp, "User-Agent: %s (%s)\n", mutt_make_version(), os); } return (ferror (fp) == 0 ? 0 : -1); @@ -1840,8 +1840,7 @@ static int mutt_invoke_sendmail (address_t * from, /* the sender */ if (option (OPTNEWSSEND)) { char cmd[LONG_STRING]; - m_strformat (cmd, sizeof (cmd), NONULL (Inews), nntp_format_str, 0, - 0); + m_strformat(cmd, sizeof(cmd), 0, Inews, nntp_format_str, 0, 0); if (m_strisempty(cmd)) { i = nntp_post (msg); unlink (msg);