summaryrefslogtreecommitdiff
path: root/libsieve/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsieve/sv.c')
-rw-r--r--libsieve/sv.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libsieve/sv.c b/libsieve/sv.c
index 551111e84..4cf20488b 100644
--- a/libsieve/sv.c
+++ b/libsieve/sv.c
@@ -46,11 +46,16 @@ main (int argc, char **argv)
else
n = 1;
- rc = sieve_compile (&mach, argv[n], NULL, NULL);
+ sieve_machine_init (&mach, NULL);
+
+ rc = sieve_compile (&mach, argv[n]);
if (rc == 0)
{
if (debug)
- sieve_set_debug (&mach, debug_printer, 100);
+ {
+ sieve_machine_set_debug (&mach, debug_printer, 100);
+ fprintf (stderr, "RUNNING\n");
+ }
sieve_run (&mach);
}
return rc;

Return to:

Send suggestions and report system problems to the System administrator.