Why duplicate the code of "tvb_get_string()" when you could just use
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 7 Dec 2005 03:03:37 +0000 (03:03 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 7 Dec 2005 03:03:37 +0000 (03:03 +0000)
commit9fe20b5cd476a53ebe7f3cf8b1547767324555c3
treef92a3ffbc5ee6b187e129e29c4164166fbfe56c1
parentde93fb384a33ea0ff9f5fbc196eb161c934f1124
Why duplicate the code of "tvb_get_string()" when you could just use
"tvb_get_string()"?

Why even bother with "tvb_get_string()" when you can just use
"proto_tree_add_item()" with a string item?

Make sure that the prefix in a PRIV item isn't bigger than the item
itself.  That fixes bug 603.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16716 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-rtcp.c