fixing a retention date issue

This commit is contained in:
SJ 2015-10-31 11:45:32 +01:00
parent c1f2a2bbf1
commit 82b3fb41e7
2 changed files with 3 additions and 2 deletions

View File

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

View File

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