Commit b960f1e8 authored by Steve Holme's avatar Steve Holme
Browse files

imap: Small tidy up of imap_select() to match imap_append()

Updated the style of imap_select() before adding the LIST command.
parent c2934661
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -701,8 +701,8 @@ static CURLcode imap_select(struct connectdata *conn)
  /* Make sure the mailbox is in the correct atom format */
  mailbox = imap_atom(imap->mailbox);
  if(!mailbox)
    result = CURLE_OUT_OF_MEMORY;
  else
    return CURLE_OUT_OF_MEMORY;

  /* Send the SELECT command */
  result = imap_sendf(conn, "SELECT %s", mailbox);