projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix mutt compilation, that's ugly, but it works for now
[apps/madmutt.git]
/
main.c
diff --git
a/main.c
b/main.c
index
5b1c674
..
ab893ca
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-19,32
+19,32
@@
# include "config.h"
#endif
# include "config.h"
#endif
+#include <string.h>
+#include <stdlib.h>
+#include <locale.h>
+#include <unistd.h>
+#include <errno.h>
+#include <sys/stat.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/mem.h>
#include <lib-lib/str.h>
#include <lib-lib/macros.h>
#include <lib-lib/file.h>
+#include <lib-lib/debug.h>
+
+#include <lib-ui/curses.h>
#include "mutt.h"
#include "mx.h"
#include "buffy.h"
#include "sort.h"
#include <lib-crypt/crypt.h>
#include "mutt.h"
#include "mx.h"
#include "buffy.h"
#include "sort.h"
#include <lib-crypt/crypt.h>
-#include "mutt_curses.h"
#include "keymap.h"
#include "url.h"
#include "mutt_idna.h"
#include "xterm.h"
#include "keymap.h"
#include "url.h"
#include "mutt_idna.h"
#include "xterm.h"
-#include "lib/debug.h"
-
-#include <string.h>
-#include <stdlib.h>
-#include <locale.h>
-#include <unistd.h>
-#include <errno.h>
-#include <sys/stat.h>
-#include <sys/utsname.h>
-
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#else
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#else
@@
-86,11
+86,6
@@
extern int optind;
#include <openssl/opensslv.h>
#endif
#include <openssl/opensslv.h>
#endif
-static const char *ReachingUs = N_("\
-To contact the developers, please mail to <mutt-ng-devel@lists.berlios.de>.\n\
-To visit the Madmutt homepage go to http://www.muttng.org.\n\
-To report a bug, please use the fleang(1) utility.\n");
-
static const char *Notice = N_("\
Copyright (C) 1996-2002 Michael R. Elkins and others.\n\
Madmutt comes with ABSOLUTELY NO WARRANTY; for details type `madmutt -vv'.\n\
static const char *Notice = N_("\
Copyright (C) 1996-2002 Michael R. Elkins and others.\n\
Madmutt comes with ABSOLUTELY NO WARRANTY; for details type `madmutt -vv'.\n\
@@
-335,11
+330,6
@@
static void show_version (void)
"+HAVE_REGCOMP "
#else
"-HAVE_REGCOMP "
"+HAVE_REGCOMP "
#else
"-HAVE_REGCOMP "
-#endif
-#ifdef USE_GNU_REGEX
- "+USE_GNU_REGEX "
-#else
- "-USE_GNU_REGEX "
#endif
"\n "
#ifdef HAVE_COLOR
#endif
"\n "
#ifdef HAVE_COLOR
@@
-459,8
+449,6
@@
static void show_version (void)
puts (" -MIXMASTER\n");
#endif
puts (" -MIXMASTER\n");
#endif
- puts (_(ReachingUs));
-
puts (_("MadMutt is based on Madmutt wich was based on Mutt before\n"));
exit (0);
puts (_("MadMutt is based on Madmutt wich was based on Mutt before\n"));
exit (0);
@@
-552,8
+540,8
@@
int main (int argc, char **argv)
SRAND (time (NULL));
umask (077);
SRAND (time (NULL));
umask (077);
- p_clear(Options,
size
of(Options));
- p_clear(QuadOptions,
size
of(QuadOptions));
+ p_clear(Options,
count
of(Options));
+ p_clear(QuadOptions,
count
of(QuadOptions));
#ifdef USE_NNTP
while ((i =
#ifdef USE_NNTP
while ((i =
@@
-700,7
+688,6
@@
int main (int argc, char **argv)
puts (_(Copyright_GPL_1));
puts (_(Copyright_GPL_2));
puts (_(Copyright_GPL_3));
puts (_(Copyright_GPL_1));
puts (_(Copyright_GPL_2));
puts (_(Copyright_GPL_3));
- puts (_(ReachingUs));
exit (0);
}
exit (0);
}