Skip to content

Commit

Permalink
carrierroute: fix return value of cr_do_route
Browse files Browse the repository at this point in the history
  • Loading branch information
l2dy committed Mar 12, 2020
1 parent 2d604cd commit b39639e
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 b39639e

Please sign in to comment.