projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drop the horrible list2_t for good.
[apps/madmutt.git]
/
main.c
diff --git
a/main.c
b/main.c
index
e097503
..
ea0d55f
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-15,20
+15,10
@@
#define MAIN_C 1
#define MAIN_C 1
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <lib-lib/lib-lib.h>
-#include <string.h>
-#include <stdlib.h>
-#include <locale.h>
-#include <unistd.h>
-#include <errno.h>
-#include <sys/stat.h>
#include <sys/utsname.h>
#include <sys/utsname.h>
-#include <lib-lib/lib-lib.h>
-
#include <lib-sys/mutt_signal.h>
#include <lib-mime/mime.h>
#include <lib-sys/mutt_signal.h>
#include <lib-mime/mime.h>
@@
-366,11
+356,6
@@
static void show_version (void)
"+CRYPT_BACKEND_GPGME "
#else
"-CRYPT_BACKEND_GPGME "
"+CRYPT_BACKEND_GPGME "
#else
"-CRYPT_BACKEND_GPGME "
-#endif
-#ifdef BUFFY_SIZE
- "+BUFFY_SIZE "
-#else
- "-BUFFY_SIZE "
#endif
"\n "
#ifdef ENABLE_NLS
#endif
"\n "
#ifdef ENABLE_NLS
@@
-675,7
+660,6
@@
int main (int argc, char **argv)
start_curses ();
/* set defaults and read init files */
start_curses ();
/* set defaults and read init files */
- mx_init ();
mutt_init (flags & M_NOSYSRC, commands);
string_list_wipe(&commands);
mutt_init (flags & M_NOSYSRC, commands);
string_list_wipe(&commands);
@@
-881,7
+865,7
@@
int main (int argc, char **argv)
}
else
#endif
}
else
#endif
- if (!Incoming) {
+ if (!Incoming
.len
) {
mutt_endwin _("No incoming mailboxes defined.");
exit (1);
mutt_endwin _("No incoming mailboxes defined.");
exit (1);