mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
pop3: Updated the coding style of pop3_state_servergreet_resp()
Updated the coding style, in this function, to be consistent with other response functions rather then performing a hard return on failure.
This commit is contained in:
parent
02dc9e788f
commit
26bdafcbf9
@ -700,9 +700,9 @@ static CURLcode pop3_state_servergreet_resp(struct connectdata *conn,
|
|||||||
|
|
||||||
if(pop3code != '+') {
|
if(pop3code != '+') {
|
||||||
failf(data, "Got unexpected pop3-server response");
|
failf(data, "Got unexpected pop3-server response");
|
||||||
return CURLE_FTP_WEIRD_SERVER_REPLY;
|
result = CURLE_FTP_WEIRD_SERVER_REPLY;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
result = pop3_perform_capa(conn);
|
result = pop3_perform_capa(conn);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user