Skip to content

Commit

Permalink
tm: renamed kemi ki_t_relay_to_proto2() to ki_t_relay_to_proto_addr()
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 30, 2020
1 parent 26b16df commit bd504b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/tm/tm.c
Expand Up @@ -2923,7 +2923,7 @@ static int ki_t_relay_to_proto(sip_msg_t *msg, str *sproto)
/**
*
*/
static int ki_t_relay_to_proto2(sip_msg_t *msg, str *sproto, str *host, unsigned int port)
static int ki_t_relay_to_proto_addr(sip_msg_t *msg, str *sproto, str *host, unsigned int port)
{

int proto = PROTO_NONE;
Expand Down Expand Up @@ -3284,8 +3284,8 @@ static sr_kemi_t tm_kemi_exports[] = {
{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
{ str_init("tm"), str_init("t_relay_to_proto2"),
SR_KEMIP_INT, ki_t_relay_to_proto2,
{ str_init("tm"), str_init("t_relay_to_proto_addr"),
SR_KEMIP_INT, ki_t_relay_to_proto_addr,
{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_INT,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
Expand Down

1 comment on commit bd504b2

@aalba6675
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @miconda ! There is one more string (in error message) that probably should be changed as well.

   LM_ERR("t_relay_to_proto2 failed, bad protocol specified <%s>\n", sproto->s);

Please sign in to comment.