From 016794767c5876138c1161e79926bfb3579a6ed0 Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 4 Sep 2013 16:47:27 +0200 Subject: [PATCH] do not return an error if the pop3 import finds no message --- src/pop3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pop3.c b/src/pop3.c index 0eaa6710..eebf08ae 100644 --- a/src/pop3.c +++ b/src/pop3.c @@ -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++;