Wireshark-commits: [Wireshark-commits] rev 35497: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Wed, 12 Jan 2011 03:35:16 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35497

User: morriss
Date: 2011/01/11 07:35 PM

Log:
 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.

Directory: /trunk/epan/dissectors/
  Changes    Path                       Action
  +6 -6      packet-dcerpc-rpriv.c      Modified
  +12 -13    packet-dcerpc-rs_acct.c    Modified
  +5 -5      packet-dcerpc-rs_misc.c    Modified