projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
missing dependency on the lib-sys.
[apps/madmutt.git]
/
main.c
diff --git
a/main.c
b/main.c
index
1c6982f
..
e5dc968
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-19,6
+19,7
@@
#include <sys/utsname.h>
#include <sys/utsname.h>
+#include <lib-lua/lib-lua.h>
#include <lib-sys/mutt_signal.h>
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
#include <lib-sys/mutt_signal.h>
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
@@
-89,7
+90,7
@@
void mutt_exit (int code)
static void mutt_usage (void)
{
static void mutt_usage (void)
{
- puts (mutt_make_version
(1
));
+ puts (mutt_make_version
(
));
puts
_("usage: madmutt [ -nRyzZ ] [ -e <cmd> ] [ -F <file> ] [ -m <type> ] [ -f <file> ]\n\
puts
_("usage: madmutt [ -nRyzZ ] [ -e <cmd> ] [ -F <file> ] [ -m <type> ] [ -f <file> ]\n\
@@
-143,7
+144,7
@@
static void show_version (void)
char buf[STRING];
#endif
char buf[STRING];
#endif
- puts (mutt_make_version
(1
));
+ puts (mutt_make_version
(
));
puts (_(Notice));
uname (&uts);
puts (_(Notice));
uname (&uts);
@@
-723,7
+724,7
@@
int main (int argc, char **argv)
/* is the following if still needed? */
/* is the following if still needed? */
- fout = m_tempfile(buf, sizeof(buf), NONULL(
Te
mpdir), NULL);
+ fout = m_tempfile(buf, sizeof(buf), NONULL(
MCore.t
mpdir), NULL);
tempfile = m_strdup(buf);
if (tempfile) {
tempfile = m_strdup(buf);
if (tempfile) {
@@
-850,5
+851,6
@@
int main (int argc, char **argv)
mutt_endwin (Errorbuf);
}
mutt_endwin (Errorbuf);
}
+ luaM_shutdown();
exit (0);
}
exit (0);
}