From bd9f96738c50f2d8eb5f65cb1eeef88abaa6ba58 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 2 Dec 2003 21:15:49 +0000 Subject: 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 --- gtk/rtp_analysis.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/rtp_analysis.c') 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 @@ -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; } -- cgit v1.2.3