mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05: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,10 +700,10 @@ 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