aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/dfvm.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-02 21:15:49 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-02 21:15:49 +0000
commitbd9f96738c50f2d8eb5f65cb1eeef88abaa6ba58 (patch)
treebba10b00745ee2278670863e1574d7760e2fec79 /epan/dfilter/dfvm.c
parent98c4d5d030c62c47200d56734e2cb7cd5fa5a20f (diff)
From Didier Gautheron: put an "fvalue_t" structure into a "field_info"
structure, rather than separately allocating "fvalue_t"s and having the "field_info" structure point to them - this appears to speed up protocol tree construction a bit. svn path=/trunk/; revision=9146
Diffstat (limited to 'epan/dfilter/dfvm.c')
-rw-r--r--epan/dfilter/dfvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dfilter/dfvm.c b/epan/dfilter/dfvm.c
index dc8910878a..be409ed35b 100644
--- a/epan/dfilter/dfvm.c
+++ b/epan/dfilter/dfvm.c
@@ -1,5 +1,5 @@
/*
- * $Id: dfvm.c,v 1.11 2003/11/25 13:20:35 sahlberg Exp $
+ * $Id: dfvm.c,v 1.12 2003/12/02 21:15:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -224,7 +224,7 @@ read_tree(dfilter_t *df, proto_tree *tree, header_field_info *hfinfo, int reg)
len = finfos->len;
for (i = 0; i < len; i++) {
finfo = g_ptr_array_index(finfos, i);
- fvalues = g_list_prepend(fvalues, finfo->value);
+ fvalues = g_list_prepend(fvalues, &finfo->value);
}
hfinfo = hfinfo->same_name_next;