Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/plugins/mgcp packet-mgcp.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Tue, 2 Sep 2003 16:26:23 -0500 (CDT)
guy         2003/09/02 16:26:23 CDT

  Modified files:
    plugins/mgcp         packet-mgcp.c 
  Log:
  "tvb_new_subset(tvb, 0, tvb_length(tvb), -1)" is equivalent to
  "tvb_new_subset(tvb, 0, -1, -1)", which is equivalent to just "tvb" -
  it's creating a "subset" that includes the entire tvbuff.  Don't bother
  with the "tvb_new_subset()" call.
  
  Revision  Changes    Path
  1.41      +3 -5      ethereal/plugins/mgcp/packet-mgcp.c