mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:20:11 +01:00
fixing a retention date issue
This commit is contained in:
parent
c1f2a2bbf1
commit
82b3fb41e7
@ -226,7 +226,8 @@ struct session_data {
|
||||
float __acquire, __parsed, __av, __store, __compress, __encrypt;
|
||||
char bodydigest[2*DIGEST_LENGTH+1];
|
||||
char digest[2*DIGEST_LENGTH+1];
|
||||
time_t now, sent, delivered, retained;
|
||||
time_t now, sent, delivered;
|
||||
unsigned long retained;
|
||||
char ms_journal;
|
||||
char import;
|
||||
int journal_envelope_length, journal_bottom_length;
|
||||
|
@ -112,7 +112,7 @@ int main(int argc, char **argv){
|
||||
|
||||
printf("folder: %d\n", get_folder_id_by_rule(&data, &state, st.st_size, sdata.spam_message, &cfg));
|
||||
|
||||
printf("retention period: %ld\n", sdata.retained);
|
||||
printf("retention period: %lu\n", sdata.retained);
|
||||
|
||||
clearrules(data.archiving_rules);
|
||||
clearrules(data.retention_rules);
|
||||
|
Loading…
Reference in New Issue
Block a user