MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / fixup_substre

Function fixup_substre

modules/textops/textops.c:641–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641static int fixup_substre(void** param)
642{
643 struct subst_expr* se;
644
645 se=subst_parser((str*)*param);
646 if (se==0){
647 LM_ERR("%s: bad subst. re %.*s\n", exports.name,
648 ((str*)*param)->len, ((str*)*param)->s);
649 return E_BAD_RE;
650 }
651
652 *param=se;
653 return 0;
654}
655
656static int fixup_free_substre(void** param)
657{

Callers

nothing calls this directly

Calls 1

subst_parserFunction · 0.85

Tested by

no test coverage detected