diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-04-15 23:28:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-04-15 23:28:11 +0000 |
commit | e5f24517355fd55b517162fd89a1716a44fdc98b (patch) | |
tree | 9bdf50330688aef607d579db3f1a1df3a547de86 /file.c | |
parent | e6ee0dc7c736407e62cfdc0debeecb24c19e360c (diff) |
Rename a bunch of variables and routines that pertain to string search
with "string" rather than "ascii", to make it clearer what they're
involved with.
Use "gtk_toggle_button_set_active()", not
"gtk_toggle_button_set_state()" (the latter is a deprecated alias for
the former, probably dating back to GTK+ 1.0[.x] - 1.2[.x] and later
have "gtk_toggle_button_set_active()").
Do *NOT* change the radio buttons for the type of string search to do
based on whether we're doing a string search or not - doing so means we
don't correctly remember the type of string search.
Get rid of code to fetch some values that we don't subsequently use.
svn path=/trunk/; revision=10609
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* file.c * File I/O routines * - * $Id: file.c,v 1.372 2004/04/14 05:46:34 ulfl Exp $ + * $Id: file.c,v 1.373 2004/04/15 23:28:10 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2019,7 +2019,7 @@ find_packet_data(capture_file *cf, const guint8 *string, size_t string_size) info.data_len = string_size; /* String or hex search? */ - if (cf->ascii) { + if (cf->string) { /* String search - what type of string? */ switch (cf->scs_type) { |