remove duplicate cseq from notify's xml body for reginfo

remotes/origin/3.3+ngcp2.6
Andrew Pogrebennyk 14 years ago
parent 124886996a
commit 7100746cb4

@ -163,11 +163,6 @@ str* build_reginfo_full(urecord_t * record, str uri, ucontact_t* c, int type) {
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);
/* URI-Node */
memset(buf, 0, sizeof(buf));
buf_len = snprintf(buf, sizeof(buf), "%.*s", ptr->c.len, ptr->c.s);

Loading…
Cancel
Save