Module: kamailio Branch: master Commit: 884ec6baf85414d2f92681cd6e61a5d611fd0428 URL: https://github.com/kamailio/kamailio/commit/884ec6baf85414d2f92681cd6e61a5d6...
Author: Henning Westerholt hw@kamailio.org Committer: Henning Westerholt hw@kamailio.org Date: 2018-10-07T10:02:03+02:00
enum: remove old and not compiling code block, deactivated with #ifdef since 2006
---
Modified: src/modules/enum/enum.c
---
Diff: https://github.com/kamailio/kamailio/commit/884ec6baf85414d2f92681cd6e61a5d6... Patch: https://github.com/kamailio/kamailio/commit/884ec6baf85414d2f92681cd6e61a5d6...
---
diff --git a/src/modules/enum/enum.c b/src/modules/enum/enum.c index 55c2245685..7d1d1553fb 100644 --- a/src/modules/enum/enum.c +++ b/src/modules/enum/enum.c @@ -364,15 +364,6 @@ int is_from_user_enum_helper(sip_msg_t *_msg, str *suffix, str *service) LM_ERR("Parsing of NAPTR regexp failed\n"); return -5; } -#ifdef LATER - if((pattern.len == 4) && (strncmp(pattern.s, "^.*$", 4) == 0)) { - LM_DBG("Resulted in replacement: '%.*s'\n", replacement.len, - ZSW(replacement.s)); - retval = set_uri(_msg, replacement.s, replacement.len); - free_rdata_list(head); /*clean up*/ - return retval; - } -#endif result.s = &(uri[0]); result.len = MAX_URI_SIZE; /* Avoid making copies of pattern and replacement */