mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-14 12:17:03 +02:00
emit the error in case of pop3 login problem
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user