forked from osmocom/wireshark
If you don't print an "(", don't print a ")".
svn path=/trunk/; revision=15570
This commit is contained in:
parent
fab7006697
commit
99ff1832d7
1 changed files with 6 additions and 3 deletions
|
@ -1930,15 +1930,18 @@ int dissect_ber_bitstring(gboolean implicit_tag, packet_info *pinfo, proto_tree
|
|||
proto_tree_add_boolean(tree, *(nb->p_id), tvb, offset + len, 0, 0x00);
|
||||
}
|
||||
if(val) {
|
||||
if(item && nb->tstr)
|
||||
if(item && nb->tstr) {
|
||||
proto_item_append_text(item, "%s%s", sep, nb->tstr);
|
||||
term = TRUE;
|
||||
}
|
||||
} else {
|
||||
if(item && nb->fstr)
|
||||
if(item && nb->fstr) {
|
||||
proto_item_append_text(item, "%s%s", sep, nb->fstr);
|
||||
term = TRUE;
|
||||
}
|
||||
}
|
||||
nb++;
|
||||
sep = ", ";
|
||||
term = TRUE;
|
||||
}
|
||||
if(term)
|
||||
proto_item_append_text(item, ")");
|
||||
|
|
Loading…
Reference in a new issue