Skip to content

Commit

Permalink
sip/request: fix check return code (found by coverity) (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored Aug 30, 2023
1 parent af26dea commit b5ca0e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sip/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ static int request(struct sip_request *req, enum sip_transp tp,
if (req->srcport) {
struct sip_conncfg cfg = {.srcport = req->srcport};
err = sip_conncfg_set(req->sip, dst, &cfg);
if (err)
goto out;
}

if (!req->stateful) {
Expand Down

0 comments on commit b5ca0e2

Please sign in to comment.