{
/* just eat the command, but don't do anything real about it */
do
+ {
mutt_extract_token(buf, s, MUTT_TOKEN_NO_FLAGS);
- while (MoreArgs(s));
+ } while (MoreArgs(s));
return MUTT_CMD_SUCCESS;
}
imap_cmd_start(adata, "AUTHENTICATE ANONYMOUS");
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc != IMAP_RES_RESPOND)
{
mutt_socket_send(adata->conn, "ZHVtbXkK\r\n"); /* base64 ("dummy") */
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc != IMAP_RES_OK)
{
* primary host name of the server. The syntax of the unencoded form must
* correspond to that of an RFC822 'msg-id' [RFC822] as described in [POP3]. */
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc != IMAP_RES_RESPOND)
{
mutt_socket_send(adata->conn, ibuf);
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc != IMAP_RES_OK)
{
/* expect a null continuation response ("+") */
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc != IMAP_RES_RESPOND)
{
{
/* Read server data */
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc != IMAP_RES_RESPOND)
{
/* get security flags and buffer size */
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc != IMAP_RES_RESPOND)
{
/* Joy of victory or agony of defeat? */
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc == IMAP_RES_RESPOND)
{
mutt_debug(LL_DEBUG1, "Unexpected server continuation request\n");
err_abort_cmd:
mutt_socket_send(adata->conn, "*\r\n");
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
bail:
mutt_error(_("GSSAPI authentication failed"));
while ((rc == SASL_CONTINUE) || (olen > 0))
{
do
+ {
irc = imap_cmd_step(adata);
- while (irc == IMAP_RES_CONTINUE);
+ } while (irc == IMAP_RES_CONTINUE);
if ((irc == IMAP_RES_BAD) || (irc == IMAP_RES_NO))
goto bail;
/* Allow interruptions, particularly useful if there are network problems. */
mutt_sig_allow_interrupt(1);
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
mutt_sig_allow_interrupt(0);
if (rc == IMAP_RES_NO)
}
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc == IMAP_RES_RESPOND)
{
imap_cmd_start(adata, buf);
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc != IMAP_RES_RESPOND)
goto cmd_step_fail;
mutt_file_fclose(&fp);
do
+ {
rc = imap_cmd_step(adata);
- while (rc == IMAP_RES_CONTINUE);
+ } while (rc == IMAP_RES_CONTINUE);
if (rc != IMAP_RES_OK)
goto cmd_step_fail;
{
curlevel = actx->idx[rindex]->level;
do
+ {
rindex++;
- while ((rindex < actx->idxlen) && (actx->idx[rindex]->level > curlevel));
+ } while ((rindex < actx->idxlen) && (actx->idx[rindex]->level > curlevel));
}
else
rindex++;
#include <signal.h>
#include <stdbool.h>
#include <stdlib.h>
+#include <sys/wait.h> // IWYU pragma: keep
#include <unistd.h>
-#include <sys/wait.h>
#include "mutt/mutt.h"
#include "mutt.h"
#ifdef USE_IMAP