Wireshark-commits: [Wireshark-commits] rev 54158: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Mon, 16 Dec 2013 22:39:43 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54158

User: guy
Date: 2013/12/16 10:39 PM

Log:
 Use proto_tree_add_item() in preference to fetching the string and
 adding it with proto_tree_add_string().  Use tvb_get_string_enc() rather
 than tvb_get_unicode_string() to fetch strings.
 
 We assume a UTF-16 encoding for all "Unicode" strings.
 
 Use tvb_strsize() and tvb_unicode_strsize() to get the lengths of
 null-terminated strings.
 
 Get rid of unused ett_nt_unicode_string variable.

Directory: /trunk/epan/dissectors/
  Changes    Path                       Action
  +11 -59    packet-dcerpc-nt.c         Modified
  +5 -5      packet-dcerpc-spoolss.c    Modified
  +1 -1      packet-dtpt.c              Modified
  +10 -4     packet-ms-mms.c            Modified
  +1 -1      packet-ntlmssp.c           Modified
  +11 -5     packet-pnrp.c              Modified
  +1 -4      packet-smb.c               Modified
  +39 -40    packet-tds.c               Modified
  +6 -14     packet-tnef.c              Modified