summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-13 13:38:04 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-11-13 13:38:04 +0000
commitb5eec1ac68580e756af3d71d766a1ae7f7376a06 (patch)
tree486fe204e8c21401e7d0005ab59b5346da73dd7d
parentbbc963549d99c9f133e053dea82e5e86ec1cb2ef (diff)
downloadmailutils-b5eec1ac68580e756af3d71d766a1ae7f7376a06.tar.gz
mailutils-b5eec1ac68580e756af3d71d766a1ae7f7376a06.tar.bz2
Modified to reflect changes in the API.
-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
@@ -43,15 +43,20 @@ main (int argc, char **argv)
debug++;
assert (argc > 2);
}
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.