X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=main.c;h=e5dc968e1517b0a0964dcc3fbb163e992820175a;hp=1c6982fc0ddcd4d26400e23e0bc639b79c954eef;hb=558b0bd9de90a9dc28f409d8f46679bf48c72ded;hpb=486de69aa30a7bfca3625a1b521411dc7a15c55c diff --git a/main.c b/main.c index 1c6982f..e5dc968 100644 --- a/main.c +++ b/main.c @@ -19,6 +19,7 @@ #include +#include #include #include #include @@ -89,7 +90,7 @@ void mutt_exit (int code) static void mutt_usage (void) { - puts (mutt_make_version (1)); + puts (mutt_make_version()); puts _("usage: madmutt [ -nRyzZ ] [ -e ] [ -F ] [ -m ] [ -f ]\n\ @@ -143,7 +144,7 @@ static void show_version (void) char buf[STRING]; #endif - puts (mutt_make_version (1)); + puts (mutt_make_version()); puts (_(Notice)); uname (&uts); @@ -723,7 +724,7 @@ int main (int argc, char **argv) /* is the following if still needed? */ - fout = m_tempfile(buf, sizeof(buf), NONULL(Tempdir), NULL); + fout = m_tempfile(buf, sizeof(buf), NONULL(MCore.tmpdir), NULL); tempfile = m_strdup(buf); if (tempfile) { @@ -850,5 +851,6 @@ int main (int argc, char **argv) mutt_endwin (Errorbuf); } + luaM_shutdown(); exit (0); }