Commit 4fc35b3b 4fc35b3b2bd28d8ecf4e0b6e08cd55974589f018 by Sergey Poznyakoff

(sieve_action_reject): Fixed diagnostic messages.

1 parent 74a63244
...@@ -233,7 +233,7 @@ sieve_action_reject (sieve_machine_t mach, list_t args, list_t tags) ...@@ -233,7 +233,7 @@ sieve_action_reject (sieve_machine_t mach, list_t args, list_t tags)
233 sieve_value_t *val = sieve_value_get (args, 0); 233 sieve_value_t *val = sieve_value_get (args, 0);
234 if (!val) 234 if (!val)
235 { 235 {
236 sieve_error (mach, "redirect: can't get text!"); 236 sieve_error (mach, "reject: can't get text!");
237 sieve_abort (mach); 237 sieve_abort (mach);
238 } 238 }
239 sieve_log_action (mach, "REJECT", NULL); 239 sieve_log_action (mach, "REJECT", NULL);
...@@ -275,7 +275,7 @@ sieve_action_reject (sieve_machine_t mach, list_t args, list_t tags) ...@@ -275,7 +275,7 @@ sieve_action_reject (sieve_machine_t mach, list_t args, list_t tags)
275 mailer_get_url (mailer, &url); 275 mailer_get_url (mailer, &url);
276 276
277 sieve_error (mach, 277 sieve_error (mach,
278 "%d: redirect - can't open mailer %s: %s\n", 278 "%d: reject - can't open mailer %s: %s\n",
279 sieve_get_message_num (mach), 279 sieve_get_message_num (mach),
280 url_to_string (url), 280 url_to_string (url),
281 mu_errstring (rc)); 281 mu_errstring (rc));
......