Skip to content

Commit

Permalink
Merge pull request #2018 from l2dy/carrierroute
Browse files Browse the repository at this point in the history
carrierroute: fix return value of cr_do_route
  • Loading branch information
liviuchircu committed Mar 12, 2020
2 parents 27326de + b39639e commit 3930165
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/carrierroute/route_func.c
Expand Up @@ -568,8 +568,9 @@ int cr_do_route(struct sip_msg * _msg, void *_carrier,
if (set_ruri(_msg, &dest) < 0) {
LM_ERR("Error setting RURI\n");
ret = -1;
} else {
ret = 1;
}
ret = 1;

pkg_free(dest.s);

Expand Down

0 comments on commit 3930165

Please sign in to comment.