Skip to content

Commit

Permalink
sip: init dst in sip_request_send()
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Oct 12, 2021
1 parent eaff149 commit c850f05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sip/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ static int sip_request_send(struct sip_request *req, struct sip *sip,
struct sa dst;
int err;

sa_init(&dst, AF_UNSPEC);
if (!sa_set_str(&dst, req->host,
sip_transp_port(req->tp, route->port))) {

Expand Down

0 comments on commit c850f05

Please sign in to comment.