mirror of
https://github.com/curl/curl.git
synced 2025-09-27 06:26:50 +03:00
pop3_doing: Applied debug info message when function fails
Applied the same debug message as used in smtp_doing() and imap_doing() when pop3_multi_statemach() fails.
This commit is contained in:
parent
1576548428
commit
c02449ca53
13
lib/pop3.c
13
lib/pop3.c
|
@ -1550,13 +1550,16 @@ static CURLcode pop3_dophase_done(struct connectdata *conn, bool connected)
|
||||||
/* Called from multi.c while DOing */
|
/* Called from multi.c while DOing */
|
||||||
static CURLcode pop3_doing(struct connectdata *conn, bool *dophase_done)
|
static CURLcode pop3_doing(struct connectdata *conn, bool *dophase_done)
|
||||||
{
|
{
|
||||||
CURLcode result;
|
CURLcode result = pop3_multi_statemach(conn, dophase_done);
|
||||||
result = pop3_multi_statemach(conn, dophase_done);
|
|
||||||
|
|
||||||
if(!result && *dophase_done) {
|
if(result)
|
||||||
result = pop3_dophase_done(conn, FALSE /* not connected */);
|
DEBUGF(infof(conn->data, "DO phase failed\n"));
|
||||||
|
else {
|
||||||
|
if(*dophase_done) {
|
||||||
|
result = pop3_dophase_done(conn, FALSE /* not connected */);
|
||||||
|
|
||||||
DEBUGF(infof(conn->data, "DO phase is complete\n"));
|
DEBUGF(infof(conn->data, "DO phase is complete\n"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user