Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan tvbuff.c tvbuff.h

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Tue, 23 Mar 2004 12:06:29 -0600 (CST)
guy         2004/03/23 12:06:29 CST

  Modified files:
    epan                 tvbuff.c tvbuff.h 
  Log:
  Use "tvb_format_text()" to display strings, so we handle non-printable
  characters.
  
  Some strings appear to be null-padded; add a "tvb_format_stringzpad()"
  routine to handle them, so that we don't show the padding characters as
  "\000".
  
  Revision  Changes    Path
  1.61      +25 -1     ethereal/epan/tvbuff.c
  1.41      +7 -1      ethereal/epan/tvbuff.h