mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
imap: Updated the coding style of imap_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:
parent
f53ed631b3
commit
1d86d813c3
@ -730,9 +730,9 @@ static CURLcode imap_state_servergreet_resp(struct connectdata *conn,
|
|||||||
|
|
||||||
if(imapcode != 'O') {
|
if(imapcode != 'O') {
|
||||||
failf(data, "Got unexpected imap-server response");
|
failf(data, "Got unexpected imap-server response");
|
||||||
return CURLE_FTP_WEIRD_SERVER_REPLY; /* TODO: fix this code */
|
result = CURLE_FTP_WEIRD_SERVER_REPLY; /* TODO: fix this code */
|
||||||
}
|
}
|
||||||
|
else
|
||||||
result = imap_state_capability(conn);
|
result = imap_state_capability(conn);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user