Ethereal-cvs: [Ethereal-cvs] rev 13237: /trunk/gtk/: voip_calls_dlg.c

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

Date: Wed, 02 Feb 2005 08:53:17 -0000
User: guy
Date: 2005/02/02 02:53 AM

Log:
 Don't assume that the only blank filter expression is empty - check for
 an all-space-character string.
 
 Don't use "filter_string" both for the (unfreeable, unmodifiable) value
 fetched from the text entry and the new filter expression; use it only
 for the former, and make it a "const" pointer to avoid compiler
 warnings.
 
 Use a GString to construct the stuff to be added to the new filter
 expression - the old code, when appending stuff to the filter expression
 in a loop, would leak the pre-append value.

Directory: /trunk/gtk/
  Changes    Path                Action
  +30 -28    voip_calls_dlg.c    Modified



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