From 8b515e9340f9eb93c79b74d129b1fddfb8e5299a Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 16 Aug 2009 12:36:22 +0000 Subject: Switch a bunch of dissectors over to using tvb_new_subset_remaining() svn path=/trunk/; revision=29446 --- epan/dissectors/packet-sndcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-sndcp.c') diff --git a/epan/dissectors/packet-sndcp.c b/epan/dissectors/packet-sndcp.c index 2deafb641a..2f8f008816 100644 --- a/epan/dissectors/packet-sndcp.c +++ b/epan/dissectors/packet-sndcp.c @@ -308,7 +308,7 @@ dissect_sndcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* handle N-PDU data, reassemble if necessary */ if (first && !more_frags) { - next_tvb = tvb_new_subset (tvb, offset, -1, -1); + next_tvb = tvb_new_subset_remaining (tvb, offset); if (!dcomp && !pcomp) { call_dissector(ip_handle, next_tvb, pinfo, tree); -- cgit v1.2.3