Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk packet_win.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: Sun, 9 Dec 2001 18:26:18 -0600 (CST)
guy         2001/12/09 18:26:18 CST

  Modified files:
    gtk                  packet_win.c 
  Log:
  Move the pointer to the "column_info" structure in the "frame_data"
  structure to the "packet_info" structure; only stuff that's permanently
  stored with each frame should be in the "frame_data" structure, and the
  "column_info" structure is not guaranteed to hold the column values for
  that frame at all times - it was only in the "frame_data" structure so
  that it could be passed to dissectors, and, as all dissectors are now
  passed a pointer to a "packet_info" structure, it could just as well be
  put in the "packet_info" structure.
  
  That saves memory, by shrinking the "frame_data" structure (there's one
  of those per frame), and also lets us clean up the code a bit.
  
  Revision  Changes    Path
  1.28      +2 -2      ethereal/gtk/packet_win.c