email: Simplified nesting of if statements in *_doing() functions
This commit is contained in:
@@ -1565,12 +1565,10 @@ static CURLcode smtp_doing(struct connectdata *conn, bool *dophase_done)
|
||||
|
||||
if(result)
|
||||
DEBUGF(infof(conn->data, "DO phase failed\n"));
|
||||
else {
|
||||
if(*dophase_done) {
|
||||
result = smtp_dophase_done(conn, FALSE /* not connected */);
|
||||
else if(*dophase_done) {
|
||||
result = smtp_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;
|
||||
|
||||
Reference in New Issue
Block a user