From 1624c99dc5bb3383ac134afa3235fdf02406b2db Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Fri, 10 Nov 2017 09:54:41 +0100 Subject: [PATCH] tests: init_session_data fix Signed-off-by: Janos SUTO --- unit_tests/check_digest.c | 2 +- unit_tests/check_parser.c | 2 +- unit_tests/check_rules.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;