aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column-utils.c
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2008-02-22 01:25:45 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2008-02-22 01:25:45 +0000
commit95a282426559e667deebd5f58523136828b2783a (patch)
tree19e53cd924cbf3cc1c93fc715e2298d87a82208f /epan/column-utils.c
parenta7ddda27e79197003162133752d1c6ee69f1f49c (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24413 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/column-utils.c')
-rw-r--r--epan/column-utils.c4
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];