@kristiyan-peychev-flolive commented on this pull request.
if(ptr->type == HDR_CONTACT_T) {
- if(ptr->parsed == 0) { - if(parse_contact(ptr) < 0) { - LM_DBG("error parsing contacts [%.*s]\n", ptr->body.len, - ptr->body.s); - } + ptr->parsed = NULL; + if(parse_contact(ptr) < 0) { + LM_ERR("error parsing contacts [%.*s]\n", ptr->body.len, + ptr->body.s); } } ptr = ptr->next;
Thank you for pointing this out, I had forgotten about it.