mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:50:11 +01:00
tests: init_session_data fix
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
d2cf3a4deb
commit
1624c99dc5
@ -86,7 +86,7 @@ static void test_make_digests(struct config *cfg){
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
init_session_data(&sdata, cfg);
|
init_session_data(&sdata, 0, cfg);
|
||||||
|
|
||||||
sdata.delivered = 0;
|
sdata.delivered = 0;
|
||||||
sdata.tot_len = st.st_size;
|
sdata.tot_len = st.st_size;
|
||||||
|
@ -66,7 +66,7 @@ static void test_parser(struct config *cfg){
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
init_session_data(&sdata, cfg);
|
init_session_data(&sdata, 0, cfg);
|
||||||
|
|
||||||
sdata.delivered = 0;
|
sdata.delivered = 0;
|
||||||
sdata.tot_len = st.st_size;
|
sdata.tot_len = st.st_size;
|
||||||
|
@ -113,7 +113,7 @@ static void test_archiving_rule(struct config *cfg){
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
init_session_data(&sdata, cfg);
|
init_session_data(&sdata, 0, cfg);
|
||||||
|
|
||||||
sdata.delivered = 0;
|
sdata.delivered = 0;
|
||||||
sdata.tot_len = st.st_size;
|
sdata.tot_len = st.st_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user