diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2008-02-22 01:25:45 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2008-02-22 01:25:45 +0000 |
commit | c7d656555a6e9cd96816a315a6abab6f2f3f31af (patch) | |
tree | 19e53cd924cbf3cc1c93fc715e2298d87a82208f /epan | |
parent | 1c5dddbd683d747751173eeb5c1197f5076cf89b (diff) |
Use custom column check function for custom columns to make sure the dfilter
is always primed when needed. This ensures more than just the first row
has a custom column's information in it.
svn path=/trunk/; revision=24413
Diffstat (limited to 'epan')
-rw-r--r-- | epan/column-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/column-utils.c b/epan/column-utils.c index f97ff8efc5..06df303888 100644 --- a/epan/column-utils.c +++ b/epan/column-utils.c @@ -276,7 +276,7 @@ col_custom_set_fstr(const gchar *field_name, const gchar *format, ...) va_list ap; int i; - if (!check_col(ci, COL_CUSTOM)) + if (!have_custom_cols(ci)) return; va_start(ap, format); @@ -302,7 +302,7 @@ col_custom_prime_edt(epan_dissect_t *edt, column_info *cinfo) ci = cinfo; /* Save this into the static variable ci for use by * col_custom_set_fstr() later. */ - if(!check_col(cinfo, COL_CUSTOM)) + if(!have_custom_cols(cinfo)) return; for (i = cinfo->col_first[COL_CUSTOM]; |