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

User: morriss
Date: 2011/01/11 07:27 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
  +27 -31    packet-dcerpc-fldb.c    Modified