...
|
...
|
@@ -301,7 +301,7 @@ static void psetup_impl(int load2)
|
301
|
301
|
f = fdopen(open_testfile("input/daily.pdb"),"r");
|
302
|
302
|
fail_unless(!!f, "fopen daily.pdb");
|
303
|
303
|
|
304
|
|
- rc = load_regex_matcher(engine->domainlist_matcher, f, &signo, 0, 0, NULL, 1);
|
|
304
|
+ rc = load_regex_matcher(engine, engine->domainlist_matcher, f, &signo, 0, 0, NULL, 1);
|
305
|
305
|
fail_unless(rc == 0, "load_regex_matcher");
|
306
|
306
|
fclose(f);
|
307
|
307
|
|
...
|
...
|
@@ -312,7 +312,7 @@ static void psetup_impl(int load2)
|
312
|
312
|
fail_unless(!!f, "fopen daily.gdb");
|
313
|
313
|
|
314
|
314
|
signo = 0;
|
315
|
|
- rc = load_regex_matcher(engine->domainlist_matcher, f, &signo, 0, 0, NULL, 1);
|
|
315
|
+ rc = load_regex_matcher(engine, engine->domainlist_matcher, f, &signo, 0, 0, NULL, 1);
|
316
|
316
|
fail_unless(rc == 0, "load_regex_matcher");
|
317
|
317
|
fclose(f);
|
318
|
318
|
|
...
|
...
|
@@ -325,7 +325,7 @@ static void psetup_impl(int load2)
|
325
|
325
|
|
326
|
326
|
f = fdopen(open_testfile("input/daily.wdb"),"r");
|
327
|
327
|
signo = 0;
|
328
|
|
- rc = load_regex_matcher(engine->whitelist_matcher, f, &signo, 0, 1, NULL, 1);
|
|
328
|
+ rc = load_regex_matcher(engine, engine->whitelist_matcher, f, &signo, 0, 1, NULL, 1);
|
329
|
329
|
fail_unless(rc == 0,"load_regex_matcher");
|
330
|
330
|
fclose(f);
|
331
|
331
|
|