Ethereal-cvs: [Ethereal-cvs] Rev 12488: /trunk/gtk/: packet_history.c

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

Date: Wed, 03 Nov 2004 23:44:14 -0000
User: guy
Date: 2004/11/03 05:44 PM

Log:
 When clearing the list, use "history_list", just in case
 "history_current" happens to be null (that might not be possible, but
 this is still perhaps a bit clearer).
 
 Clear "history_current" after clearing the list, as the current entry no
 longer exists, so that "packet_history_add()" doesn't use the now-bogus
 value.

Directory: /trunk/gtk/
  Changes    Path                Action
  +3 -2      packet_history.c    Modified



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