Commit f77884fd f77884fd6f796e0f781fa32f9c3207994a67ee55 by Sergey Poznyakoff

(mu_sieve_machine_inherit_report): Replace by mu_sieve_machine_inherit.

1 parent 7a55b13c
...@@ -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)
......