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

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 6 Aug 2000 05:04:26 -0500 (CDT)
guy         2000/08/06 05:04:22 CDT

  Modified files:
    .                    packet-msproxy.c packet-smb-logon.c 
                         packet-socks.c 
  Log:
  Use "BYTES_ARE_IN_FRAME()" rather than explicitly checking an offset and
  packet length.
  
  Use "IS_DATA_IN_FRAME()", rather than checking if "offset+1" is greater
  than "pi.captured_len", to check whether there's any data left in the
  packet.
  
  Check whether data is in the packet *before* extracting it and stuffing
  an item into the tree with it.
  
  Revision  Changes    Path
  1.6       +3 -3      ethereal/packet-msproxy.c
  1.7       +16 -11    ethereal/packet-smb-logon.c
  1.7       +9 -9      ethereal/packet-socks.c