Module: kamailio
Branch: master
Commit: c67a0eabea5fd11693bb716782cd581094250f7f
URL:
https://github.com/kamailio/kamailio/commit/c67a0eabea5fd11693bb716782cd581…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-05T08:05:07+02:00
rr: different function parameter name to be different than global variable
---
Modified: src/modules/rr/rr_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c67a0eabea5fd11693bb716782cd581…
Patch:
https://github.com/kamailio/kamailio/commit/c67a0eabea5fd11693bb716782cd581…
---
diff --git a/src/modules/rr/rr_mod.c b/src/modules/rr/rr_mod.c
index 236373a288..71f5fcc18e 100644
--- a/src/modules/rr/rr_mod.c
+++ b/src/modules/rr/rr_mod.c
@@ -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)