Commit eedca505 authored by Steve Holme's avatar Steve Holme
Browse files

smtp: Fixed broken RCPT TO from commit 0ea4a80b

parent 5d040632
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1349,13 +1349,14 @@ static CURLcode smtp_state_rcpt_resp(struct connectdata *conn, int smtpcode,
    if(smtp->rcpt)
      /* Send the next RCPT TO command */
      result = smtp_perform_rcpt_to(conn);
    else
    else {
      /* Send the DATA command */
      result = Curl_pp_sendf(&conn->proto.smtpc.pp, "%s", "DATA");

      if(!result)
        state(conn, SMTP_DATA);
    }
  }

  return result;
}