mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 18:40:11 +01:00
do not return an error if the pop3 import finds no message
This commit is contained in:
parent
fdb4c84f55
commit
016794767c
@ -118,7 +118,7 @@ int process_pop3_emails(int sd, struct session_data *sdata, struct __data *data,
|
|||||||
|
|
||||||
printf("found %d messages\n", data->import->total_messages);
|
printf("found %d messages\n", data->import->total_messages);
|
||||||
|
|
||||||
if(data->import->total_messages <= 0) return rc;
|
if(data->import->total_messages <= 0) return OK;
|
||||||
|
|
||||||
for(i=1; i<=data->import->total_messages; i++){
|
for(i=1; i<=data->import->total_messages; i++){
|
||||||
data->import->processed_messages++;
|
data->import->processed_messages++;
|
||||||
|
Loading…
Reference in New Issue
Block a user