| 639 | } |
| 640 | |
| 641 | static 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 | |
| 656 | static int fixup_free_substre(void** param) |
| 657 | { |
nothing calls this directly
no test coverage detected