mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 19:50:13 +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 VERSION "0.1.23-master-branch"
|
||||||
|
|
||||||
#define BUILD 767
|
#define BUILD 768
|
||||||
|
|
||||||
#define HOSTID "mailarchiver"
|
#define HOSTID "mailarchiver"
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user