mutt_message ("Closing connection to IMAP server...");
mutt_message _("Closing connection to IMAP server...");
int imap_close_connection (CONTEXT *ctx){  char buf[LONG_STRING];  char seq[8];  dprint (1, (debugfile, "imap_close_connection(): closing connection\n"));  /* if the server didn't shut down on us, close the connection gracefully */  if (CTX_DATA->status != IMAP_BYE)  {    mutt_message ("Closing connection to IMAP server...");    imap_make_sequence (seq, sizeof (seq));    snprintf (buf, sizeof (buf), "%s LOGOUT\r\n", seq);    mutt_socket_write (CTX_DATA->conn, buf);    do    {      if (mutt_socket_read_line_d (buf, sizeof (buf), CTX_DATA->conn) < 0)	break;    }    while (strncmp (seq, buf, SEQLEN) != 0);    mutt_clear_error ();  }  close (CTX_DATA->conn->fd);  CTX_DATA->conn->uses = 0;  return 0;}