diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-16 05:16:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-16 05:16:58 +0000 |
commit | 3c91e2e203855cf290ba0495ca130bfc96f0f848 (patch) | |
tree | f69005a62bb0392c20abfb3cf5d0975c57c1a073 /packet-rtp.c | |
parent | 04c530b2def5a06f92aecbc16ca698a84b6811cd (diff) | |
download | wireshark-3c91e2e203855cf290ba0495ca130bfc96f0f848.tar.gz |
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
Diffstat (limited to 'packet-rtp.c')
-rw-r--r-- | packet-rtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <andreas.sikkema@philips.com> * - * $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 <gerald@ethereal.com> @@ -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; } } |