There's no need to pass the result of tvb_get_ptr() as the 'value' in
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 12 Jan 2011 03:35:14 +0000 (03:35 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 12 Jan 2011 03:35:14 +0000 (03:35 +0000)
commitee6a2a363d3f7b544a7272432586f5fd4a1b7d3b
treec23500dad6cfef6574206b98c5b54fc712890d31
parent3df702945fbbadf2b97bb227b9949b6e3ae53b49
There's no need to pass the result of tvb_get_ptr() as the 'value' in
proto_tree_add_string(): just use proto_tree_add_item().

Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s.

In a couple of places an hf variable was being used as the length in a call to
proto_tree_add_*().  Use the appropriate variable instead.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35497 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-dcerpc-rpriv.c
epan/dissectors/packet-dcerpc-rs_acct.c
epan/dissectors/packet-dcerpc-rs_misc.c