diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-02-01 07:12:53 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-02-01 07:12:53 +0000 |
commit | 3775e401957e0db18f4b37f8f6ff3b16536afe2c (patch) | |
tree | 865cc0359c96b9682ebc60e5a5f3ef83e7731546 /packet-yhoo.c | |
parent | 645170a7015207d7a0378fe7464a4920a64aff3c (diff) | |
download | wireshark-3775e401957e0db18f4b37f8f6ff3b16536afe2c.tar.gz wireshark-3775e401957e0db18f4b37f8f6ff3b16536afe2c.tar.bz2 wireshark-3775e401957e0db18f4b37f8f6ff3b16536afe2c.zip |
Use -1 rather than "tvb_length_remaining(tvb, offset)" in an item for
the remaining data in a packet.
svn path=/trunk/; revision=4662
Diffstat (limited to 'packet-yhoo.c')
-rw-r--r-- | packet-yhoo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-yhoo.c b/packet-yhoo.c index b440a1e44d..73c122bb40 100644 --- a/packet-yhoo.c +++ b/packet-yhoo.c @@ -2,7 +2,7 @@ * Routines for yahoo messenger packet dissection * Copyright 1999, Nathan Neulinger <nneul@umr.edu> * - * $Id: packet-yhoo.c,v 1.22 2002/01/24 09:20:53 guy Exp $ + * $Id: packet-yhoo.c,v 1.23 2002/02/01 07:12:53 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -183,8 +183,8 @@ dissect_yhoo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) offset, 36, TRUE); offset += 36; - proto_tree_add_item(yhoo_tree, hf_yhoo_content, tvb, - offset, tvb_length_remaining(tvb, offset), TRUE); + proto_tree_add_item(yhoo_tree, hf_yhoo_content, tvb, -1, + offset, TRUE); } return TRUE; |