Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-mmse.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: Tue, 8 Jan 2002 14:51:17 -0600 (CST)
guy         2002/01/08 14:51:17 CST

  Modified files:
    .                    packet-mmse.c 
  Log:
  From Tom Uijldert: fix to supply a non-null string argument to
  "proto_tree_add_string_format()", so the item has a value, and so that
  Ethereal doesn't just crash.
  
  Get rid of some uses of "tvb_length()" - use "tvb_reported_length()", or
  -1, instead (so that we don't quit when we run out of captured data).
  
  Use "g_warning()", as other dissectors do, for reporting problems with
  packets.  (They should really put it into the protocol tree, instead,
  but that's another matter....)
  
  Revision  Changes    Path
  1.5       +7 -8      ethereal/packet-mmse.c