mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:50:11 +01:00
Added timestamps to pilerimport --before/--after in verbose mode
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
7e3e8edf49
commit
0573c6daaf
@ -94,11 +94,11 @@ int import_message(struct session_data *sdata, struct data *data, struct config
|
|||||||
rc = ERR;
|
rc = ERR;
|
||||||
}
|
}
|
||||||
else if(data->import->after > 0 && sdata->sent < data->import->after){
|
else if(data->import->after > 0 && sdata->sent < data->import->after){
|
||||||
if(cfg->verbosity > 1) printf("discarding older email: %s\n", sdata->filename);
|
if(cfg->verbosity > 1) printf("discarding older email: %s (%ld/%ld)\n", sdata->filename, sdata->sent, data->import->after);
|
||||||
rc = ERR_DISCARDED;
|
rc = ERR_DISCARDED;
|
||||||
}
|
}
|
||||||
else if(data->import->before > 0 && sdata->sent > data->import->before){
|
else if(data->import->before > 0 && sdata->sent > data->import->before){
|
||||||
if(cfg->verbosity > 1) printf("discarding newer email: %s\n", sdata->filename);
|
if(cfg->verbosity > 1) printf("discarding newer email: %s (%ld/%ld)\n", sdata->filename, sdata->sent, data->import->before);
|
||||||
rc = ERR_DISCARDED;
|
rc = ERR_DISCARDED;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user