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-h261.c | |
parent | 04c530b2def5a06f92aecbc16ca698a84b6811cd (diff) | |
download | wireshark-3c91e2e203855cf290ba0495ca130bfc96f0f848.tar.gz wireshark-3c91e2e203855cf290ba0495ca130bfc96f0f848.tar.bz2 wireshark-3c91e2e203855cf290ba0495ca130bfc96f0f848.zip |
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-h261.c')
-rw-r--r-- | packet-h261.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-h261.c b/packet-h261.c index e96d354a6c..453159b341 100644 --- a/packet-h261.c +++ b/packet-h261.c @@ -2,7 +2,7 @@ * * Routines for ITU-T Recommendation H.261 dissection * - * $Id: packet-h261.c,v 1.8 2001/06/18 02:17:46 guy Exp $ + * $Id: packet-h261.c,v 1.9 2001/07/16 05:16:57 guy Exp $ * * Copyright 2000, Philips Electronics N.V. * Andreas Sikkema <andreas.sikkema@philips.com> @@ -117,7 +117,7 @@ dissect_h261( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) offset++; /* The rest of the packet is the H.261 stream */ - proto_tree_add_bytes( h261_tree, hf_h261_data, tvb, offset, tvb_length_remaining( tvb, offset ), tvb_get_ptr( tvb, offset, tvb_length_remaining( tvb, offset ) ) ); + proto_tree_add_item( h261_tree, hf_h261_data, tvb, offset, tvb_length_remaining( tvb, offset ), FALSE ); } } |