Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-mount.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: Sat, 7 Apr 2001 04:25:24 -0500 (CDT)
guy         2001/04/07 04:25:24 CDT

  Modified files:
    .                    packet-mount.c 
  Log:
  If we do "offset = dissect_rpc_XXX_tvb(...)", we have to do so
  regardless of whether the protocol tree argument is null or not;
  otherwise, we don't end up updating the offset field correctly if the
  argument is null.  (The "dissect_rpc_XXX_tvb(...)" routines won't try to
  add something to the tree if their "tree" argument is null, so it's safe
  to call them with a null "tree" argument.)
  
  Revision  Changes    Path
  1.23      +3 -8      ethereal/packet-mount.c