TT#147451 support from-tags=x,y,z syntax

Change-Id: Ibf736d026499727f9ccbe42798602b902efc9c1e
pull/1657/head
Richard Fuchs 2 years ago
parent ddc79e5713
commit 6640c719cb

@ -827,8 +827,11 @@ static void call_ng_flags_list(struct sdp_ng_flags *out, bencode_item_t *list,
{
str s;
if (list->type != BENCODE_LIST) {
if (bencode_get_str(list, &s))
callback(out, &s, parm);
if (bencode_get_str(list, &s)) {
str token;
while (str_token_sep(&token, &s, ',') == 0)
callback(out, &token, parm);
}
else
ilog(LOG_DEBUG, "Ignoring non-list non-string value");
return;

Loading…
Cancel
Save