Module: kamailio
Branch: master
Commit: ea3ca819bc07fed6b40bd6cc8f6f147dac66d9ca
URL:
https://github.com/kamailio/kamailio/commit/ea3ca819bc07fed6b40bd6cc8f6f147…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-05-10T09:28:31+02:00
uac: renamed parameter for kemi uac_reg_lookup_uri()
- be suggestive of its purpose in the index docs
---
Modified: src/modules/uac/uac.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ea3ca819bc07fed6b40bd6cc8f6f147…
Patch:
https://github.com/kamailio/kamailio/commit/ea3ca819bc07fed6b40bd6cc8f6f147…
---
diff --git a/src/modules/uac/uac.c b/src/modules/uac/uac.c
index c7e181dc7c..46503bf592 100644
--- a/src/modules/uac/uac.c
+++ b/src/modules/uac/uac.c
@@ -684,7 +684,7 @@ static int w_uac_reg_lookup_uri(struct sip_msg* msg, char* src, char*
dst)
return uac_reg_lookup(msg, &sval, dpv, 1);
}
-static int ki_uac_reg_lookup_uri(sip_msg_t* msg, str* userid, str* sdst)
+static int ki_uac_reg_lookup_uri(sip_msg_t* msg, str* suri, str* sdst)
{
pv_spec_t *dpv = NULL;
dpv = pv_cache_get(sdst);
@@ -692,7 +692,7 @@ static int ki_uac_reg_lookup_uri(sip_msg_t* msg, str* userid, str*
sdst)
LM_ERR("cannot get pv spec for [%.*s]\n", sdst->len, sdst->s);
return -1;
}
- return uac_reg_lookup(msg, userid, dpv, 1);
+ return uac_reg_lookup(msg, suri, dpv, 1);
}
static int w_uac_reg_status(struct sip_msg* msg, char* src, char* p2)