do not return an error if the pop3 import finds no message

This commit is contained in:
SJ 2013-09-04 16:47:27 +02:00
parent fdb4c84f55
commit 016794767c

View File

@ -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);
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++){
data->import->processed_messages++;