tests: init_session_data fix

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2017-11-10 09:54:41 +01:00
parent d2cf3a4deb
commit 1624c99dc5
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;