X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=main.c;h=aaa8877f12c5e06043860a2ecb9edd2887dc0c79;hp=d604a5441aa736df7ac2426944cc302d1136d8f1;hb=1f2ac11f2012a0cc6c8a9fb01aed29b267411539;hpb=e5c642efe8f2f698b7f0a4720c73d2e52f9fc9d8 diff --git a/main.c b/main.c index d604a54..aaa8877 100644 --- a/main.c +++ b/main.c @@ -74,6 +74,10 @@ #include #endif +#ifdef USE_SSL +#include +#endif + static const char *ReachingUs = N_("\ To contact the developers, please mail to .\n\ To visit the Mutt-ng homepage go to http://www.muttng.org.\n\ @@ -240,6 +244,10 @@ static void show_version (void) printf (" gnutls %s\n", LIBGNUTLS_VERSION); #endif +#ifdef USE_SSL + printf (" %s\n",OPENSSL_VERSION_TEXT); +#endif + #ifdef CRYPT_BACKEND_GPGME printf (" gpgme %s\n", GPGME_VERSION); #endif @@ -499,8 +507,7 @@ static void show_version (void) puts (_(ReachingUs)); - puts (_("Mutt-ng is based on the following patches written for mutt:\n")); - mutt_print_patchlist (); + puts (_("MadMutt is based on Mutt-ng wich was based on Mutt before\n")); exit (0); } @@ -640,9 +647,12 @@ int main (int argc, char **argv) case 'd': { - char puke[20]; - snprintf (puke, sizeof (puke), "set debug_level=%d", atoi (optarg)); - commands = mutt_add_list (commands, puke); + char buf[LONG_STRING]; + int level = atoi (optarg); + + snprintf (buf, sizeof (buf), "set debug_level=%d", level); + commands = mutt_add_list (commands, buf); + debug_setlevel (level); } break;