diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-01-01 10:23:37 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-01-01 10:23:37 +0000 |
commit | 1370d2f738f4ec4b7a00f63e5f04fe916da79533 (patch) | |
tree | a5b6d83d2e8ecce673d2bc42f517b1c294d04143 /cfile.h | |
parent | f824a895a48bf5f9efec2ee7ef4edd5db7e71563 (diff) |
break out dfcode from the capture file structure and declare it locally where it is needed.
allocate and release the dfcode program as needed instead of having it hang around in the capture file structure.
this will ensure that dfcode will not have longer than se scope lifetime in case we need that property of it later
svn path=/trunk/; revision=20251
Diffstat (limited to 'cfile.h')
-rw-r--r-- | cfile.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -61,7 +61,6 @@ typedef struct _capture_file { wtap *wth; /* Wiretap session */ dfilter_t *rfcode; /* Compiled read (display) filter program */ gchar *dfilter; /* Display filter string */ - dfilter_t *dfcode; /* Compiled display filter program */ /* search */ gchar *sfilter; /* Search filter string */ gboolean sbackward; /* TRUE if search is backward, FALSE if forward */ |