email: Removed unnecessary return statements
Small tidy up to remove unnecessary return statements prior to the next fix.
This commit is contained in:
parent
f2f897172f
commit
6a55f25f67
@ -629,7 +629,7 @@ static CURLcode imap_state_starttls_resp(struct connectdata *conn,
|
||||
}
|
||||
else {
|
||||
state(conn, IMAP_UPGRADETLS);
|
||||
return imap_state_upgrade_tls(conn);
|
||||
result = imap_state_upgrade_tls(conn);
|
||||
}
|
||||
|
||||
return result;
|
||||
@ -1628,8 +1628,6 @@ static CURLcode imap_regular_transfer(struct connectdata *conn,
|
||||
return CURLE_OK;
|
||||
|
||||
result = imap_dophase_done(conn, connected);
|
||||
if(result)
|
||||
return result;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
@ -1608,8 +1608,6 @@ static CURLcode pop3_regular_transfer(struct connectdata *conn,
|
||||
return CURLE_OK;
|
||||
|
||||
result = pop3_dophase_done(conn, connected);
|
||||
if(result)
|
||||
return result;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
@ -492,7 +492,7 @@ static CURLcode smtp_state_starttls_resp(struct connectdata *conn,
|
||||
}
|
||||
else {
|
||||
state(conn, SMTP_UPGRADETLS);
|
||||
return smtp_state_upgrade_tls(conn);
|
||||
result = smtp_state_upgrade_tls(conn);
|
||||
}
|
||||
|
||||
return result;
|
||||
@ -1599,8 +1599,6 @@ static CURLcode smtp_regular_transfer(struct connectdata *conn,
|
||||
return CURLE_OK;
|
||||
|
||||
result = smtp_dophase_done(conn, connected);
|
||||
if(result)
|
||||
return result;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user