fixed the pop3 import

This commit is contained in:
SJ 2013-02-19 19:50:41 +01:00
parent 17b36d3279
commit e6098bf2a0
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
#define VERSION "0.1.23-master-branch" #define VERSION "0.1.23-master-branch"
#define BUILD 767 #define BUILD 768
#define HOSTID "mailarchiver" #define HOSTID "mailarchiver"

View File

@ -160,8 +160,8 @@ int process_pop3_emails(int sd, struct session_data *sdata, struct __data *data,
if(nreads == 1){ if(nreads == 1){
if(strncmp(buf, "+OK ", 4) == 0){ if(strncmp(buf, "+OK", 3) == 0){
p = strchr(&buf[4], '\n'); p = strchr(&buf[3], '\n');
if(p){ if(p){
*p = '\0'; *p = '\0';
pos = strlen(buf)+1; pos = strlen(buf)+1;