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

Date: Mon, 16 May 2011 18:32:39 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=37183

User: guy
Date: 2011/05/16 11:32 AM

Log:
 Fix some comments.
 
 Get rid of null-pointer tests for t2i in the "not null" branch of an
 earlier test whether it's null, as those tests are redundant.
 
 Use a switch statement to check the subcommand for Trans2.
 
 If t2i->info_level is -1, it means we don't know the info level, for
 whatever reason (e.g., the request was cut short by the snapshot length
 before the info level).  Report it as such.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +31 -18    packet-smb.c    Modified