mutt_socket_write_d (idata->conn, out,
rc = mutt_socket_write_d (idata->conn, out,
int imap_exec (IMAP_DATA* idata, const char* cmd, int flags){  char* out;  int outlen;  int rc;  /* create sequence for command */  cmd_make_sequence (idata->seq, sizeof (idata->seq));  /* seq, space, cmd, \r\n\0 */  outlen = strlen (idata->seq) + strlen (cmd) + 4;  out = (char*) safe_malloc (outlen);  snprintf (out, outlen, "%s %s\r\n", idata->seq, cmd);  mutt_socket_write_d (idata->conn, out,    flags & IMAP_CMD_PASS ? IMAP_LOG_PASS : IMAP_LOG_CMD);  safe_free ((void**) &out);  do    rc = imap_cmd_resp (idata);  while (rc == IMAP_CMD_CONTINUE);  if (rc != IMAP_CMD_DONE)    return -1;  if (!imap_code (idata->buf))  {    char *pc;    if (flags & IMAP_CMD_FAIL_OK)      return -2;    dprint (1, (debugfile, "imap_exec: command failed: %s\n", idata->buf));    pc = idata->buf;    pc = imap_next_word (pc);    mutt_error ("%s", pc);    sleep (2);    return -1;  }  return 0;}