@alexyosifov 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;
You have to remove this operation or the one into 'for' because now you have a
double-pointer assignment operation.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3032#pullrequestreview-885579982
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3032/review/885579982(a)github.com>