diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-04-23 10:57:34 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-04-23 10:57:34 +0000 |
commit | 7dc9df5f26ed136405fd1e99d62ebc3a6bf92dd5 (patch) | |
tree | 563f68a8a5af5b974c92d92a75909db35c5b4bc0 /epan | |
parent | 20a3a52951ef6f5029f7ab9ae5475e41ae027fe4 (diff) |
Just use -1 to go to the end of a tvbuff.
svn path=/trunk/; revision=21525
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-x11.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-x11.c b/epan/dissectors/packet-x11.c index 339ad6b37e..590c4b8029 100644 --- a/epan/dissectors/packet-x11.c +++ b/epan/dissectors/packet-x11.c @@ -4521,9 +4521,7 @@ dissect_x11_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_item *ti; proto_tree *t; - ti = proto_tree_add_item(tree, proto_x11, tvb, 0, - tvb_reported_length_remaining(tvb, offset), - FALSE); + ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, FALSE); t = proto_item_add_subtree(ti, ett_x11); |