| 680 | } |
| 681 | |
| 682 | static int fixup_event_name_subs(void** param) |
| 683 | { |
| 684 | str *s = (str*)*param; |
| 685 | event_id_t ev_id; |
| 686 | |
| 687 | ev_id = evi_get_id(s); |
| 688 | if (ev_id == EVI_ERROR) { |
| 689 | ev_id = evi_publish_event(*s); |
| 690 | if (ev_id == EVI_ERROR) { |
| 691 | LM_ERR("cannot subscribe event\n"); |
| 692 | return E_UNSPEC; |
| 693 | } |
| 694 | } |
| 695 | |
| 696 | return 0; |
| 697 | } |
| 698 | |
| 699 | static int fixup_format_string(void** param) |
| 700 | { |
nothing calls this directly
no test coverage detected