Skip to content

Commit

Permalink
rr: different function parameter name to be different than global var…
Browse files Browse the repository at this point in the history
…iable
  • Loading branch information
miconda committed May 5, 2020
1 parent 9a2fea7 commit c67a0ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/rr/rr_mod.c
Expand Up @@ -303,16 +303,16 @@ static int ki_loose_route_preloaded(sip_msg_t *msg)
}

/**
* common wrapper for record_route(msg, params)
* common wrapper for record_route(msg, sparams)
*/
static int ki_record_route_params(sip_msg_t *msg, str *params)
static int ki_record_route_params(sip_msg_t *msg, str *sparams)
{
if (msg->msg_flags & FL_RR_ADDED) {
LM_ERR("Double attempt to record-route\n");
return -1;
}

if ( record_route( msg, params )<0 )
if ( record_route( msg, sparams )<0 )
return -1;

if(get_route_type()!=BRANCH_ROUTE)
Expand Down

0 comments on commit c67a0ea

Please sign in to comment.