Browse code

uac: renamed parameter for kemi uac_reg_lookup_uri()

- be suggestive of its purpose in the index docs

Daniel-Constantin Mierla authored on 09/05/2021 07:28:31
Showing 1 changed files
... ...
@@ -684,7 +684,7 @@ static int w_uac_reg_lookup_uri(struct sip_msg* msg, char* src, char* dst)
684 684
 	return uac_reg_lookup(msg, &sval, dpv, 1);
685 685
 }
686 686
 
687
-static int ki_uac_reg_lookup_uri(sip_msg_t* msg, str* userid, str* sdst)
687
+static int ki_uac_reg_lookup_uri(sip_msg_t* msg, str* suri, str* sdst)
688 688
 {
689 689
 	pv_spec_t *dpv = NULL;
690 690
 	dpv = pv_cache_get(sdst);
... ...
@@ -692,7 +692,7 @@ static int ki_uac_reg_lookup_uri(sip_msg_t* msg, str* userid, str* sdst)
692 692
 		LM_ERR("cannot get pv spec for [%.*s]\n", sdst->len, sdst->s);
693 693
 		return -1;
694 694
 	}
695
-	return uac_reg_lookup(msg, userid, dpv, 1);
695
+	return uac_reg_lookup(msg, suri, dpv, 1);
696 696
 }
697 697
 
698 698
 static int w_uac_reg_status(struct sip_msg* msg, char* src, char* p2)