Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal file.c print.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: Fri, 21 Jun 2002 20:24:24 -0500 (CDT)
guy         2002/06/21 20:24:24 CDT

  Modified files:
    .                    file.c print.c 
  Log:
  Get rid of separate "print_hex_data_text()" and "print_hex_data_ps()"
  routines; instead, rename "print_hex_data_common()" to
  "print_hex_data_buffer()" as it prints a buffer in hex and ASCII (or
  EBCDIC), and have it take the print format as an argument.
  
  Have it use "print_line()" to print lines, and fix "print_line()" so
  that it prints a buffer *without* a newline at the end, printing the
  newline itself.
  
  Revision  Changes    Path
  1.278     +2 -2      ethereal/file.c
  1.51      +42 -71    ethereal/print.c