mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 07:02:00 +01:00
Refactored query_retain_period()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
c37a5f2084
commit
181febf950
@ -317,7 +317,7 @@ time_t query_retain_period(struct data *data, struct parser_state *state, int si
|
|||||||
|
|
||||||
state->retention = cfg->default_retention_days;
|
state->retention = cfg->default_retention_days;
|
||||||
|
|
||||||
return (time_t)cfg->default_retention_days * (time_t)86400;
|
return (time_t)(state->retention) * (time_t)86400;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user