else if (mutt_strncasecmp ("NO", s, 2) == 0) {  mutt_error (s+3); sleep (1); }
int imap_handle_untagged (IMAP_DATA *idata, char *s){  char *pn;  int count;  s = imap_next_word (s);  if ((idata->state == IMAP_SELECTED) && isdigit (*s))  {    pn = s;    s = imap_next_word (s);    /* EXISTS and EXPUNGE are always related to the SELECTED mailbox for the     * connection, so update that one.     */    if (mutt_strncasecmp ("EXISTS", s, 6) == 0)    {      /* new mail arrived */      count = atoi (pn);      if ( (idata->status != IMAP_EXPUNGE) &&       	count < idata->selected_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!");	idata->status = IMAP_FATAL;	mx_fastclose_mailbox (idata->selected_ctx);	return -1;      }      else      {	if (idata->status != IMAP_EXPUNGE)        {          dprint(2, (debugfile,            "imap_handle_untagged: New mail in %s - %d messages total.\n",            idata->selected_mailbox, count));	  idata->status = IMAP_NEW_MAIL;        }	idata->newMailCount = count;      }    }    else if (mutt_strncasecmp ("EXPUNGE", s, 7) == 0)       idata->status = IMAP_EXPUNGE;  }  else if (mutt_strncasecmp ("CAPABILITY", s, 10) == 0)    /* parse capabilities */    cmd_parse_capabilities (idata, s);  else if (mutt_strncasecmp ("MYRIGHTS", s, 8) == 0)  {    s = imap_next_word (s);    s = imap_next_word (s);    while (*s && !isspace(*s))    {      switch (*s)       {	case 'l':	  mutt_bit_set (idata->rights, IMAP_ACL_LOOKUP);	  break;	case 'r':	  mutt_bit_set (idata->rights, IMAP_ACL_READ);	  break;	case 's':	  mutt_bit_set (idata->rights, IMAP_ACL_SEEN);	  break;	case 'w':	  mutt_bit_set (idata->rights, IMAP_ACL_WRITE);	  break;	case 'i':	  mutt_bit_set (idata->rights, IMAP_ACL_INSERT);	  break;	case 'p':	  mutt_bit_set (idata->rights, IMAP_ACL_POST);	  break;	case 'c':	  mutt_bit_set (idata->rights, IMAP_ACL_CREATE);	  break;	case 'd':	  mutt_bit_set (idata->rights, IMAP_ACL_DELETE);	  break;	case 'a':	  mutt_bit_set (idata->rights, IMAP_ACL_ADMIN);	  break;      }      s++;    }  }  else if (mutt_strncasecmp ("BYE", s, 3) == 0)  {    /* server shut down our connection */    s += 3;    SKIPWS (s);    mutt_error (s);    idata->status = IMAP_BYE;    if (idata->state == IMAP_SELECTED)      mx_fastclose_mailbox (idata->selected_ctx);    return (-1);  }  else  {    dprint (1, (debugfile, "imap_handle_untagged(): unhandled request: %s\n",		s));  }  return 0;}