summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-13 13:38:04 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2002-11-13 13:38:04 (GMT)
commitb5eec1ac68580e756af3d71d766a1ae7f7376a06 (patch) (side-by-side diff)
tree486fe204e8c21401e7d0005ab59b5346da73dd7d
parentbbc963549d99c9f133e053dea82e5e86ec1cb2ef (diff)
downloadmailutils-b5eec1ac68580e756af3d71d766a1ae7f7376a06.tar.gz
mailutils-b5eec1ac68580e756af3d71d766a1ae7f7376a06.tar.bz2
Modified to reflect changes in the API.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libsieve/sv.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libsieve/sv.c b/libsieve/sv.c
index 551111e..4cf2048 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.