X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=main.c;h=801966b3c6b5bfec63c491ca7047baed4b447fad;hp=eb309b8e1b9c02b187da8501c6f2ed7e3ba2e92c;hb=59d195148a72f4baae904952911a246c1b4eeac4;hpb=9946738a6a1c27a5602a14d1afe2eea2389732b2 diff --git a/main.c b/main.c index eb309b8..801966b 100644 --- a/main.c +++ b/main.c @@ -49,10 +49,6 @@ extern int optind; #include #endif -#ifdef USE_LIBESMTP -#include -#endif - #ifdef USE_HCACHE #if defined(HAVE_QDBM) #include @@ -130,9 +126,6 @@ options:\n\ static void show_version (void) { struct utsname uts; -#ifdef USE_LIBESMTP - char buf[STRING]; -#endif puts (mutt_make_version()); puts (_(Notice)); @@ -165,11 +158,6 @@ static void show_version (void) stringprep_check_version (NULL), STRINGPREP_VERSION); #endif -#ifdef USE_LIBESMTP - smtp_version (buf, sizeof (buf), 0); - printf (" libESMTP %s\n", buf); -#endif - #ifdef USE_HCACHE #if defined(HAVE_QDBM) printf (" qdbm %s\n", dpversion); @@ -210,11 +198,6 @@ static void show_version (void) #else "-USE_NNTP " #endif -#ifdef USE_LIBESMTP - "+USE_LIBESMTP " -#else - "-USE_LIBESMTP " -#endif #ifdef HAVE_LIBIDN "+HAVE_LIBIDN " #else @@ -667,7 +650,8 @@ int main (int argc, char **argv) exit (1); } folder[0] = 0; - mutt_select_file (folder, sizeof (folder), M_SEL_FOLDER | M_SEL_BUFFY); + mutt_select_file(folder, sizeof(folder), M_SEL_FOLDER | M_SEL_BUFFY, + NULL, NULL); if (!folder[0]) { mutt_endwin (NULL); exit (0);