149,165d148 < /* received Attribute */ < memset(buf, 0, sizeof(buf)); < buf_len = snprintf(buf, sizeof(buf), "%.*s", ptr->received.len, ptr->received.s); < xmlNewProp(contact_node, BAD_CAST "received", BAD_CAST buf); < < memset(buf, 0, sizeof(buf)); < buf_len = snprintf(buf, sizeof(buf), "%.*s", ptr->path.len, ptr->path.s); < xmlNewProp(contact_node, BAD_CAST "path", BAD_CAST buf); < < memset(buf, 0, sizeof(buf)); < buf_len = snprintf(buf, sizeof(buf), "%.*s", ptr->user_agent.len, ptr->user_agent.s); < xmlNewProp(contact_node, BAD_CAST "user_agent", BAD_CAST buf); < < /* CSeq Attribute */ < memset(buf, 0, sizeof(buf)); < buf_len = snprintf(buf, sizeof(buf), "%d", ptr->cseq); < xmlNewProp(contact_node, BAD_CAST "cseq", BAD_CAST buf);