Browse Source

MT#58535 rtpp_flags: fix bug in `direction` parsing

Instead of adding `key` the `val` is to be added.

Change-Id: I8ffdfd8add0d91669f75c2cffe30a3e07e3089eb
pull/1819/head
Donat Zenichev 2 years ago
parent
commit
1331437a1b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/control_ng_flags_parser.c

+ 1
- 1
daemon/control_ng_flags_parser.c View File

@ -395,7 +395,7 @@ void parse_rtpp_flags(const str * rtpp_flags, bencode_item_t * root_dict,
transport = 0x103;
/* direction */
else if (str_eq(&key, "direction"))
bencode_list_add_str(direction, &key);
bencode_list_add_str(direction, &val);
else
goto generic;
goto next;


Loading…
Cancel
Save