aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rtp_analysis.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 /gtk/rtp_analysis.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 'gtk/rtp_analysis.c')
-rw-r--r--gtk/rtp_analysis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/rtp_analysis.c b/gtk/rtp_analysis.c
index 33601b6ae8..84a15d4b76 100644
--- a/gtk/rtp_analysis.c
+++ b/gtk/rtp_analysis.c
@@ -1,7 +1,7 @@
/* rtp_analysis.c
* RTP analysis addition for ethereal
*
- * $Id: rtp_analysis.c,v 1.10 2003/11/24 22:11:55 guy Exp $
+ * $Id: rtp_analysis.c,v 1.11 2003/12/02 21:15:49 guy Exp $
*
* Copyright 2003, Alcatel Business Systems
* By Lars Ruoff <lars.ruoff@gmx.net>
@@ -1789,11 +1789,11 @@ static gboolean process_node(proto_item *ptree_node, header_field_info *hfinform
finfo=PITEM_FINFO(ptree_node);
if (hfssrc==finfo->ptr_u.hfinfo) {
if (hfinformation->type==FT_IPv4) {
- ipv4 = fvalue_get(finfo->value);
+ ipv4 = fvalue_get(&finfo->value);
*p_result = ipv4_get_net_order_addr(ipv4);
}
else {
- *p_result = fvalue_get_integer(finfo->value);
+ *p_result = fvalue_get_integer(&finfo->value);
}
return TRUE;
}