Browse Source

MT#60476 store full attribute type in `sdp_attr`

Change-Id: I1e4bd5ae2e3eef383733616c21b3669c8ab5ab94
pull/1870/head
Richard Fuchs 1 year ago
parent
commit
ed05e4c04b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/sdp.c

+ 2
- 0
daemon/sdp.c View File

@ -293,6 +293,7 @@ struct sdp_attribute {
struct sdp_attr {
struct sdp_attribute_strs strs;
enum attr_id attr;
enum attribute_other other;
};
@ -1759,6 +1760,7 @@ static struct sdp_attr *sdp_attr_dup(const struct sdp_attribute *c) {
ac->strs.name = call_str_cpy(&c->strs.name);
ac->strs.value = call_str_cpy(&c->strs.value);
ac->other = c->other;
ac->attr = c->attr;
return ac;
}


Loading…
Cancel
Save