From 3c91e2e203855cf290ba0495ca130bfc96f0f848 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 16 Jul 2001 05:16:58 +0000 Subject: Convert a bunch of "proto_tree_add_bytes(tree, hf, tvb, offset, length, tvb_get_ptr(tvb, offset, length))" calls to "proto_tree_add_item()" calls. Do the same, in "packet-iscsi.c" and "packet-mrdisc.c", for "proto_tree_add_uint()" and "proto_tree_add_boolean()" calls. svn path=/trunk/; revision=3726 --- packet-rtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-rtp.c') diff --git a/packet-rtp.c b/packet-rtp.c index eaf0151daf..bc0b12135d 100644 --- a/packet-rtp.c +++ b/packet-rtp.c @@ -6,7 +6,7 @@ * Copyright 2000, Philips Electronics N.V. * Written by Andreas Sikkema * - * $Id: packet-rtp.c,v 1.22 2001/07/03 04:56:45 guy Exp $ + * $Id: packet-rtp.c,v 1.23 2001/07/16 05:16:57 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -311,7 +311,7 @@ dissect_rtp_data( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, break; default: - proto_tree_add_bytes( rtp_tree, hf_rtp_data, tvb, offset, data_len, tvb_get_ptr( tvb, offset, data_len ) ); + proto_tree_add_item( rtp_tree, hf_rtp_data, tvb, offset, data_len, FALSE ); break; } } -- cgit v1.2.1