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
eace540
..
ea0d55f
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-15,24
+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/mem.h>
-#include <lib-lib/str.h>
-#include <lib-lib/macros.h>
-#include <lib-lib/file.h>
-#include <lib-lib/url.h>
-
#include <lib-sys/mutt_signal.h>
#include <lib-mime/mime.h>
#include <lib-sys/mutt_signal.h>
#include <lib-mime/mime.h>
@@
-370,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
@@
-679,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);
@@
-885,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);