aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tdmoe.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2012-03-06 16:58:09 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2012-03-06 16:58:09 +0000
commit089e1deb813275e5ce3221e9818d62a5559b5ba9 (patch)
tree8200697d203e7a7537f7aa02fd6a22c2b35f53ea /epan/dissectors/packet-tdmoe.c
parentd6cf7d26f9eecd140341e69ce58dc77caf3384d3 (diff)
Use tvb_new_subset_remaining() rather than tvb_new_subset();
#include <styring.h> not req'd (in a few cases); Minor reformating & whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41374 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-tdmoe.c')
-rw-r--r--epan/dissectors/packet-tdmoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tdmoe.c b/epan/dissectors/packet-tdmoe.c
index fd7557bd44..16beba5063 100644
--- a/epan/dissectors/packet-tdmoe.c
+++ b/epan/dissectors/packet-tdmoe.c
@@ -113,7 +113,7 @@ dissect_tdmoe(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
/* The rest is SAMPLES * CHANNELS bytes of channel data */
- next_client = tvb_new_subset(tvb, offset, -1, -1);
+ next_client = tvb_new_subset_remaining(tvb, offset);
return call_dissector(data_handle, next_client, pinfo, tdmoe_tree);
}