mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:20:12 +01:00
pilertest should calculate retention timestamp starting from the sent timestamp
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
61834843f1
commit
9dea29d783
@ -170,7 +170,7 @@ int main(int argc, char **argv){
|
||||
printf("rules check: %s\n", rule);
|
||||
|
||||
retention_seconds = query_retain_period(&data, &state, st.st_size, sdata.spam_message, &cfg);
|
||||
sdata.retained = sdata.now + retention_seconds;
|
||||
sdata.retained = sdata.sent + retention_seconds;
|
||||
|
||||
printf("folder: %d\n", get_folder_id_by_rule(&data, &state, st.st_size, sdata.spam_message, &cfg));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user