((IMAP_DATA *) ctx->data)->status = IMAP_BYE;
CTX_DATA->status = IMAP_BYE;
static int imap_handle_untagged (CONTEXT *ctx, char *s){  char *pn;  int count;  int n, ind;  s = imap_next_word (s);  if (isdigit (*s))  {    pn = s;    s = imap_next_word (s);    if (strncasecmp ("EXISTS", s, 6) == 0)    {      /* new mail arrived */      count = atoi (pn);      if (((IMAP_DATA *) ctx->data)->status != IMAP_EXPUNGE) {       	if (count <= ctx->msgcount)        {	  /* something is wrong because the server reported fewer messages	   * than we previously saw	   */	  mutt_error ("Fatal error.  Message count is out of sync!");	  ((IMAP_DATA *) ctx->data)->status = IMAP_FATAL;	  mx_fastclose_mailbox (ctx);	  return (-1);        }        else        {	  ((IMAP_DATA *) ctx->data)->status = IMAP_NEW_MAIL;	  ((IMAP_DATA *) ctx->data)->newMailCount = count;        }      }          }    else if (strncasecmp ("EXPUNGE", s, 7) == 0)    {      /* a message was removed; reindex remaining messages 	*/      /* (which amounts to decrementing indices of messages 	*/      /* with an index greater than the deleted one. 		*/      ind = atoi (pn) - 1;      for (n = 0; n < ctx->msgcount; n++)        if (ctx->hdrs[n]->index > ind)          ctx->hdrs[n]->index--;    }  }  else if (strncasecmp ("BYE", s, 3) == 0)  {    /* server shut down our connection */    s += 3;    SKIPWS (s);    mutt_error (s);    ((IMAP_DATA *) ctx->data)->status = IMAP_BYE;    mx_fastclose_mailbox (ctx);    return (-1);  }  else  {    dprint (1, (debugfile, "imap_unhandle_untagged(): unhandled request: %s\n",		s));  }  return 0;}