diff --git a/unit_tests/check_digest.c b/unit_tests/check_digest.c index bab35dce..c7cbffc6 100644 --- a/unit_tests/check_digest.c +++ b/unit_tests/check_digest.c @@ -86,7 +86,7 @@ static void test_make_digests(struct config *cfg){ continue; } - init_session_data(&sdata, cfg); + init_session_data(&sdata, 0, cfg); sdata.delivered = 0; sdata.tot_len = st.st_size; diff --git a/unit_tests/check_parser.c b/unit_tests/check_parser.c index f4606cae..93d349cf 100644 --- a/unit_tests/check_parser.c +++ b/unit_tests/check_parser.c @@ -66,7 +66,7 @@ static void test_parser(struct config *cfg){ continue; } - init_session_data(&sdata, cfg); + init_session_data(&sdata, 0, cfg); sdata.delivered = 0; sdata.tot_len = st.st_size; diff --git a/unit_tests/check_rules.c b/unit_tests/check_rules.c index b2053089..e0071344 100644 --- a/unit_tests/check_rules.c +++ b/unit_tests/check_rules.c @@ -113,7 +113,7 @@ static void test_archiving_rule(struct config *cfg){ continue; } - init_session_data(&sdata, cfg); + init_session_data(&sdata, 0, cfg); sdata.delivered = 0; sdata.tot_len = st.st_size;