return IMAP_CMD_FAIL;
return IMAP_CMD_BAD;
int imap_cmd_start (IMAP_DATA* idata, const char* cmd){  char* out;  int outlen;  int rc = 0;  if (idata->status == IMAP_FATAL)  {    cmd_handle_fatal (idata);    return IMAP_CMD_FAIL;  }  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);  rc = mutt_socket_write (idata->conn, out);  FREE (&out);  return (rc < 0) ? IMAP_CMD_FAIL : 0;}