| 258 | } |
| 259 | |
| 260 | int xl_print_log(struct sip_msg* msg, pv_elem_p list, int *len) |
| 261 | { |
| 262 | if (pv_printf(msg, list, log_buf, len) < 0) |
| 263 | return -1; |
| 264 | |
| 265 | if (trace_xlog(msg, log_buf, *len) < 0) { |
| 266 | LM_ERR("failed to trace xlog message!\n"); |
| 267 | return -2; |
| 268 | } |
| 269 | |
| 270 | return 1; |
| 271 | } |
| 272 | |
| 273 | |
| 274 | int xlog_2(struct sip_msg* msg, char* lev, char* frm) |
no test coverage detected