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:
Steve Holme
2013-04-15 20:11:25 +01:00
parent 26bdafcbf9
commit 651254dcc7

View File

@@ -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;