[haiku-commits] Re: BRANCH axeld-github.imap [455e6ba] src/add-ons/mail_daemon/inbound_protocols/imap

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 13 May 2013 21:53:25 -0400

On 5/13/13, axeld-github.imap <community@xxxxxxxxxxxx> wrote:
> @@ -244,6 +240,17 @@ IMAPProtocol::_CreateFolder(const BString& mailbox,
> const BString& separator)
>  }
>
>
> +status_t
> +IMAPProtocol::_EnqueueCheckMailboxes()
> +{
> +     for (int32 i = 0; i < fWorkers.CountItems(); i++) {
> +             fWorkers.ItemAt(i)->EnqueueCheckMailboxes();
> +     }
> +
> +     return B_OK;
> +}
> +

Nice progress! One question though, re the above: don't we usually
only use curly braces if the for() body is multiline?

Regards,

Rene

Other related posts: