Updated the coding style, in this function, to be consistant with other
response functions rather then performing a hard return on failure.
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;
}