summaryrefslogtreecommitdiff
path: root/libsieve/require.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsieve/require.c')
-rw-r--r--libsieve/require.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libsieve/require.c b/libsieve/require.c
index 4512eb74c..44a192dbd 100644
--- a/libsieve/require.c
+++ b/libsieve/require.c
@@ -34,8 +34,8 @@ sieve_require (list_t slist)
status = iterator_create (&itr, slist);
if (status)
{
- sieve_error ("%s:%d: cannot create iterator: %s",
- sieve_filename, sieve_line_num,
+ sieve_compile_error (sieve_filename, sieve_line_num,
+ "cannot create iterator: %s",
mu_errstring (status));
return;
}
@@ -51,8 +51,9 @@ sieve_require (list_t slist)
reg = sieve_action_lookup (s);
if (!reg)
{
- sieve_error ("%s:%d: source for the required action %s is not available",
- sieve_filename, sieve_line_num, s);
+ sieve_compile_error (sieve_filename, sieve_line_num,
+ "source for the required action %s is not available",
+ s);
break;
}
reg->required = 1;

Return to:

Send suggestions and report system problems to the System administrator.