Properly access mu-mailer and mu-message values.
Showing
1 changed file
with
5 additions
and
2 deletions
... | @@ -812,7 +812,10 @@ SCM_DEFINE (mu_message_send, "mu-message-send", 1, 3, 0, | ... | @@ -812,7 +812,10 @@ SCM_DEFINE (mu_message_send, "mu-message-send", 1, 3, 0, |
812 | mailer_name = SCM_STRING_CHARS (MAILER); | 812 | mailer_name = SCM_STRING_CHARS (MAILER); |
813 | } | 813 | } |
814 | else | 814 | else |
815 | mailer_name = SCM_STRING_CHARS(_mu_scm_mailer); | 815 | { |
816 | SCM val = MU_SCM_SYMBOL_VALUE("mu-mailer"); | ||
817 | mailer_name = SCM_STRING_CHARS(val); | ||
818 | } | ||
816 | 819 | ||
817 | if (!SCM_UNBNDP (FROM) && FROM != SCM_BOOL_F) | 820 | if (!SCM_UNBNDP (FROM) && FROM != SCM_BOOL_F) |
818 | { | 821 | { |
... | @@ -833,7 +836,7 @@ SCM_DEFINE (mu_message_send, "mu-message-send", 1, 3, 0, | ... | @@ -833,7 +836,7 @@ SCM_DEFINE (mu_message_send, "mu-message-send", 1, 3, 0, |
833 | return SCM_BOOL_F; | 836 | return SCM_BOOL_F; |
834 | } | 837 | } |
835 | 838 | ||
836 | if (SCM_INUM(_mu_scm_debug)) | 839 | if (SCM_INUM(MU_SCM_SYMBOL_VALUE("mu-debug"))) |
837 | { | 840 | { |
838 | mu_debug_t debug = NULL; | 841 | mu_debug_t debug = NULL; |
839 | mailer_get_debug (mailer, &debug); | 842 | mailer_get_debug (mailer, &debug); | ... | ... |
-
Please register or sign in to post a comment