Ethereal-cvs: [Ethereal-cvs] rev 13240: /trunk/gtk/: follow_dlg.c /trunk/: print.c print.h

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

Date: Wed, 02 Feb 2005 10:29:00 -0000
User: guy
Date: 2005/02/02 04:28 AM

Log:
 Writing the raw data of a TCP stream to a file isn't printing it, so
 don't use the print mechanism for that - do the writing directly in the
 "follow stream" code.
 
 Use "size_t" for character counts.
 
 Make the "hexchars" array static and const, as it's not written to, and
 there's probably no point in copying it to the stack (unless that
 improves cache locality).
 
 There's no need to explain why we're subtracting the number of bytes
 actually read, rather than the number of bytes asked for, from the data
 length.
 
 Note an issue with printing lines.

Directory: /trunk/gtk/
  Changes    Path            Action
  +79 -34    follow_dlg.c    Modified

Directory: /trunk/
  Changes    Path          Action
  +0 -16     print.c       Modified
  +0 -3      print.h       Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=13240&view=rev