Skip to content

Commit

Permalink
sip: init dst in request_next()
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Oct 12, 2021
1 parent aab21ff commit eaff149
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 @@ -214,6 +214,7 @@ static int request_next(struct sip_request *req)
int err;

again:
sa_init(&dst, AF_UNSPEC);
rr = list_ledata(req->addrl.head);
if (!rr) {
rr = list_ledata(req->srvl.head);
Expand Down

0 comments on commit eaff149

Please sign in to comment.