mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 01:41:59 +01:00
fixed the pop3 import
This commit is contained in:
parent
17b36d3279
commit
e6098bf2a0
@ -13,7 +13,7 @@
|
||||
|
||||
#define VERSION "0.1.23-master-branch"
|
||||
|
||||
#define BUILD 767
|
||||
#define BUILD 768
|
||||
|
||||
#define HOSTID "mailarchiver"
|
||||
|
||||
|
@ -160,8 +160,8 @@ int process_pop3_emails(int sd, struct session_data *sdata, struct __data *data,
|
||||
|
||||
if(nreads == 1){
|
||||
|
||||
if(strncmp(buf, "+OK ", 4) == 0){
|
||||
p = strchr(&buf[4], '\n');
|
||||
if(strncmp(buf, "+OK", 3) == 0){
|
||||
p = strchr(&buf[3], '\n');
|
||||
if(p){
|
||||
*p = '\0';
|
||||
pos = strlen(buf)+1;
|
||||
|
Loading…
Reference in New Issue
Block a user