aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rpc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-01 07:07:46 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-01 07:07:46 +0000
commitf4c83dbb8f19a076255672404828f10417cbf686 (patch)
tree2568c7bc6ae1341c42f8b54fb009d7380e607bfd /packet-rpc.c
parent0e84810c9baa06931c9ab3555751433ebca3183b (diff)
Use -1 rather than "tvb_length_remaining(tvb, offset)" in an item
whose length we set later. svn path=/trunk/; revision=4660
Diffstat (limited to 'packet-rpc.c')
-rw-r--r--packet-rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-rpc.c b/packet-rpc.c
index 1a25c9e513..13643f56c9 100644
--- a/packet-rpc.c
+++ b/packet-rpc.c
@@ -2,7 +2,7 @@
* Routines for rpc dissection
* Copyright 1999, Uwe Girlich <Uwe.Girlich@philosys.de>
*
- * $Id: packet-rpc.c,v 1.85 2002/01/21 07:36:41 guy Exp $
+ * $Id: packet-rpc.c,v 1.86 2002/02/01 07:07:46 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -562,7 +562,7 @@ dissect_rpc_opaque_data(tvbuff_t *tvb, int offset, packet_info *pinfo,
}
if (tree) {
- string_item = proto_tree_add_text(tree, tvb,offset+0, tvb_length_remaining(tvb, offset),
+ string_item = proto_tree_add_text(tree, tvb,offset+0, -1,
"%s: %s", proto_registrar_get_name(hfindex), string_buffer_print);
if (string_data) {
proto_tree_add_string_hidden(tree, hfindex, tvb, offset+4,