X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=main.c;h=4ea396f8759c4cce4ac2247262f747e5961813e5;hp=ada2c8d6fd0efb3bf1c2f2de62b43b303ff4258d;hb=08fa240d29322ece4c7bceebfae6c6d3fb856f0e;hpb=7cf9f06d9ba7bcda54db3c668bfa0fde99abf34f diff --git a/main.c b/main.c index ada2c8d..4ea396f 100644 --- a/main.c +++ b/main.c @@ -24,12 +24,13 @@ #include #include +#include + #include "mutt.h" #include "mx.h" #include "buffy.h" #include "sort.h" #include -#include "mutt_curses.h" #include "keymap.h" #include "url.h" #include "mutt_idna.h" @@ -545,8 +546,8 @@ int main (int argc, char **argv) SRAND (time (NULL)); umask (077); - p_clear(Options, sizeof(Options)); - p_clear(QuadOptions, sizeof(QuadOptions)); + p_clear(Options, countof(Options)); + p_clear(QuadOptions, countof(QuadOptions)); #ifdef USE_NNTP while ((i =