mirror of
https://github.com/curl/curl.git
synced 2026-07-30 13:48:06 +03: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
1 changed files with 3 additions and 3 deletions
|
|
@ -730,10 +730,10 @@ static CURLcode imap_state_servergreet_resp(struct connectdata *conn,
|
|||
|
||||
if(imapcode != 'O') {
|
||||
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 */
|
||||
}
|
||||
|
||||
result = imap_state_capability(conn);
|
||||
else
|
||||
result = imap_state_capability(conn);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue