Revert "fix make check"

This reverts commit b4d33ebcf7.
0.96
aCaB 15 years ago
parent d0d1249952
commit 776c201952
  1. 6
      unit_tests/check_regex.c

@ -301,7 +301,7 @@ static void psetup_impl(int load2)
f = fdopen(open_testfile("input/daily.pdb"),"r");
fail_unless(!!f, "fopen daily.pdb");
rc = load_regex_matcher(engine, engine->domainlist_matcher, f, &signo, 0, 0, NULL, 1);
rc = load_regex_matcher(engine->domainlist_matcher, f, &signo, 0, 0, NULL, 1);
fail_unless(rc == 0, "load_regex_matcher");
fclose(f);
@ -312,7 +312,7 @@ static void psetup_impl(int load2)
fail_unless(!!f, "fopen daily.gdb");
signo = 0;
rc = load_regex_matcher(engine, engine->domainlist_matcher, f, &signo, 0, 0, NULL, 1);
rc = load_regex_matcher(engine->domainlist_matcher, f, &signo, 0, 0, NULL, 1);
fail_unless(rc == 0, "load_regex_matcher");
fclose(f);
@ -325,7 +325,7 @@ static void psetup_impl(int load2)
f = fdopen(open_testfile("input/daily.wdb"),"r");
signo = 0;
rc = load_regex_matcher(engine, engine->whitelist_matcher, f, &signo, 0, 1, NULL, 1);
rc = load_regex_matcher(engine->whitelist_matcher, f, &signo, 0, 1, NULL, 1);
fail_unless(rc == 0,"load_regex_matcher");
fclose(f);

Loading…
Cancel
Save