Wireshark-commits: [Wireshark-commits] rev 35495: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Wed, 12 Jan 2011 03:19:09 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35495

User: morriss
Date: 2011/01/11 07:19 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
  +8 -13     packet-dcerpc-fileexp.c    Modified