[raop] Make sure to set requires_auth if we get RTSP_FORBIDDEN

This commit is contained in:
ejurgensen 2017-11-19 20:11:42 +01:00
parent e4568e5640
commit 5315bdf83e

View File

@ -3913,6 +3913,8 @@ raop_cb_startup_options(struct evrtsp_request *req, void *arg)
if (req->response_code == RTSP_FORBIDDEN)
{
rs->device->requires_auth = 1;
ret = raop_send_req_pin_start(rs, raop_cb_pin_start);
if (ret < 0)
{