#include <gpgme.h>
#endif
+#ifdef USE_SSL
+#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 Mutt-ng homepage go to http://www.muttng.org.\n\
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
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;
{
char buf[LONG_STRING];
- snprintf (buf, sizeof (buf), "set news_server=%s", optarg);
+ snprintf (buf, sizeof (buf), "set nntp_host=%s", optarg);
commands = mutt_add_list (commands, buf);
}