Procházet zdrojové kódy

topos: remove check of th_param_mask_callid() for api callid masking

- functions are not for topoh internal usage, but for intermodule API
- reported as part of GH #3606
Daniel-Constantin Mierla před 1 rokem
rodič
revize
e5ecb666ab
1 změnil soubory, kde provedl 0 přidání a 9 odebrání
  1. 0 9
      src/modules/topoh/th_msg.c

+ 0 - 9
src/modules/topoh/th_msg.c

@@ -508,12 +508,6 @@ int th_mask_callid_str(str *icallid, str *ocallid)
 {
 	str out;
 
-	if(th_param_mask_callid == 0)
-		return 0;
-
-	if(th_param_mask_callid == 0)
-		return 0;
-
 	if(icallid->s == NULL) {
 		LM_ERR("invalid call-id value\n");
 		return -1;
@@ -535,9 +529,6 @@ int th_unmask_callid_str(str *icallid, str *ocallid)
 {
 	str out;
 
-	if(th_param_mask_callid == 0)
-		return 0;
-
 	if(icallid->s == NULL) {
 		LM_ERR("invalid Call-Id value\n");
 		return -1;