(mu_sieve_machine_inherit_report): Replace by mu_sieve_machine_inherit.
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -77,7 +77,7 @@ moderator_filter_message (mu_sieve_machine_t mach, mu_list_t tags, | ... | @@ -77,7 +77,7 @@ moderator_filter_message (mu_sieve_machine_t mach, mu_list_t tags, |
77 | 77 | ||
78 | if (mu_sieve_tag_lookup (tags, "source", &arg)) | 78 | if (mu_sieve_tag_lookup (tags, "source", &arg)) |
79 | { | 79 | { |
80 | rc = mu_sieve_machine_init (&newmach, NULL); | 80 | rc = mu_sieve_machine_inherit (mach, &newmach); |
81 | if (rc) | 81 | if (rc) |
82 | { | 82 | { |
83 | mu_sieve_error (mach, _("Cannot initialize sieve machine: %s"), | 83 | mu_sieve_error (mach, _("Cannot initialize sieve machine: %s"), |
... | @@ -89,7 +89,6 @@ moderator_filter_message (mu_sieve_machine_t mach, mu_list_t tags, | ... | @@ -89,7 +89,6 @@ moderator_filter_message (mu_sieve_machine_t mach, mu_list_t tags, |
89 | moderator :debug 2 | 89 | moderator :debug 2 |
90 | ... | 90 | ... |
91 | */ | 91 | */ |
92 | mu_sieve_machine_inherit_report (newmach, mach); | ||
93 | 92 | ||
94 | rc = mu_sieve_compile (newmach, arg->v.string); | 93 | rc = mu_sieve_compile (newmach, arg->v.string); |
95 | if (rc) | 94 | if (rc) | ... | ... |
-
Please register or sign in to post a comment