Commit 1d86d813 authored by Steve Holme's avatar Steve Holme
Browse files

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.
parent f53ed631
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -730,9 +730,9 @@ 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 */
  }

  else
    result = imap_state_capability(conn);

  return result;