summaryrefslogtreecommitdiff
path: root/sieve/sieve.c
diff options
context:
space:
mode:
Diffstat (limited to 'sieve/sieve.c')
-rw-r--r--sieve/sieve.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c
index a87b26157..32c044fa7 100644
--- a/sieve/sieve.c
+++ b/sieve/sieve.c
@@ -495,8 +495,13 @@ main (int argc, char *argv[])
mu_sieve_set_logger (mach, _sieve_action_log);
if (expression_option)
- rc = mu_sieve_compile_buffer (mach, script, strlen (script),
- "stdin", 1);
+ {
+ struct mu_locus_point pt;
+ pt.mu_file = "stdin";
+ pt.mu_line = 1;
+ pt.mu_col = 0;
+ rc = mu_sieve_compile_buffer (mach, script, strlen (script), &pt);
+ }
else
rc = mu_sieve_compile (mach, script);
if (rc)

Return to:

Send suggestions and report system problems to the System administrator.