Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-smb.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Sep 2001 03:40:00 -0500 (CDT)
guy         2001/09/28 03:40:00 CDT

  Modified files:
    .                    packet-smb.c 
  Log:
  WordCount is unsigned, so test for "WordCount != 0" rather than
  "WordCount > 0".
  
  Always put the byte count field into the protocol tree, regardless of
  whether WordCount is 0 - it's not one of the word parameters counted by
  WordCount, so it's present even if WordCount is 0.
  
  Fix a "val_to_str()" call.
  
  Revision  Changes    Path
  1.117     +40 -54    ethereal/packet-smb.c