| 735 | } |
| 736 | |
| 737 | static int pv_get_path(struct sip_msg *msg, pv_param_t *param, |
| 738 | pv_value_t *res) |
| 739 | { |
| 740 | if(msg==NULL) |
| 741 | return -1; |
| 742 | |
| 743 | if(!msg->path_vec.s) |
| 744 | { |
| 745 | return pv_get_null(msg, param, res); |
| 746 | } |
| 747 | return pv_get_strval(msg, param, res, &msg->path_vec); |
| 748 | } |
| 749 | |
| 750 | #define CT_NAME_S "name" |
| 751 | #define CT_NAME_LEN (sizeof(CT_NAME_S)-1) |
nothing calls this directly
no test coverage detected