Commit 7c9c6b5f 7c9c6b5f16940e8bf263e0eb0ee3fbc4b55d5aad by Sergey Poznyakoff

Export mu-mailer guile variable

* libmu_scm/mu_scm.c: Export mu-mailer.
* libmu_scm/mu_message.c (scm_mu_message_send): Fix a typo.
1 parent 3b42a3a5
......@@ -1068,7 +1068,7 @@ SCM_DEFINE_PUBLIC (scm_mu_message_send, "mu-message-send", 1, 3, 0,
status = mu_mailer_create (&mailer_c, mailer_name);
free (mailer_name);
if (status)
mu_scm_error (FUNC_NAME, status, "Cannot get create mailer", SCM_BOOL_F);
mu_scm_error (FUNC_NAME, status, "Cannot create mailer", SCM_BOOL_F);
if (scm_to_int (MU_SCM_SYMBOL_VALUE ("mu-debug")))
{
......
......@@ -175,9 +175,11 @@ mu_scm_init ()
_mu_scm_mailer = scm_from_locale_string ("sendmail:" PATH_SENDMAIL);
scm_c_define ("mu-mailer", _mu_scm_mailer);
scm_c_export ("mu-mailer", NULL);
_mu_scm_debug = scm_from_int (0);
scm_c_define ("mu-debug", _mu_scm_debug);
scm_c_export ("mu-debug", NULL);
_mu_scm_package = scm_from_locale_string (PACKAGE);
scm_c_define ("mu-package", _mu_scm_package);
......