Browse Source

cant guarantee that the call struct is still valid when the response is sent, to copy strings

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent
commit
fc246e64d3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/call.c

+ 1
- 1
daemon/call.c View File

@ -2399,7 +2399,7 @@ static bencode_item_t *peer_stats(bencode_buffer_t *b, struct peer *p) {
d = bencode_dictionary(b);
bencode_dictionary_add_str(d, "tag", &p->tag);
bencode_dictionary_add_str_dup(d, "tag", &p->tag);
if (p->codec)
bencode_dictionary_add_string(d, "codec", p->codec);
if (p->kernelized)


Loading…
Cancel
Save