smtp: Updated the coding style of smtp_state_servergreet_resp()
Updated the coding style, in this function, to be consistant with other response functions rather then performing a hard return on failure.
This commit is contained in:
@@ -509,9 +509,9 @@ static CURLcode smtp_state_servergreet_resp(struct connectdata *conn,
|
|||||||
|
|
||||||
if(smtpcode/100 != 2) {
|
if(smtpcode/100 != 2) {
|
||||||
failf(data, "Got unexpected smtp-server response: %d", smtpcode);
|
failf(data, "Got unexpected smtp-server response: %d", smtpcode);
|
||||||
return CURLE_FTP_WEIRD_SERVER_REPLY;
|
result = CURLE_FTP_WEIRD_SERVER_REPLY;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
result = smtp_state_ehlo(conn);
|
result = smtp_state_ehlo(conn);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user