Skip to content

Commit

Permalink
msrp_relay: fix check for running the socket_route
Browse files Browse the repository at this point in the history
(cherry picked from commit a2f2ec6)
  • Loading branch information
rvlad-patrascu committed May 31, 2023
1 parent 1467a11 commit 1cb5a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/msrp_relay/msrp_relay.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ int handle_msrp_request(struct msrp_msg *req, void *param)
hash_unlock(msrp_sessions, hentry);
}

if (ref_script_route_is_valid(sock_route_ref) ||
if (!ref_script_route_is_valid(sock_route_ref) ||
run_msrp_socket_route( &req->rcv,
protos[to->next->secured?PROTO_MSRPS:PROTO_MSRP].name,
&to->next->host, &si)!=0
Expand Down

0 comments on commit 1cb5a4f

Please sign in to comment.