mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 04:31:58 +01:00
emit the error in case of pop3 login problem
This commit is contained in:
parent
48a86ed82b
commit
8c6af1710b
@ -89,6 +89,8 @@ int connect_to_pop3_server(int sd, char *username, char *password, int port, str
|
|||||||
|
|
||||||
if(strncmp(buf, "+OK", 3) == 0) return OK;
|
if(strncmp(buf, "+OK", 3) == 0) return OK;
|
||||||
|
|
||||||
|
printf("error: %s", buf);
|
||||||
|
|
||||||
return ERR;
|
return ERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user