summaryrefslogtreecommitdiff
path: root/asn1/q932-ros
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-03 12:57:58 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-03 12:57:58 +0000
commit149de99d6866105dc07b9ec180d4ce0db3b777e1 (patch)
tree6533efa45f0acb10d741ffce1f0cfafb658d7c25 /asn1/q932-ros
parent0dc80637daa1990f5b091e33a9b2da0f9e8802e5 (diff)
downloadwireshark-149de99d6866105dc07b9ec180d4ce0db3b777e1.tar.gz
Have rose_ctx_t passed into subdissectors instead of using pinfo->private_data.
svn path=/trunk/; revision=53061
Diffstat (limited to 'asn1/q932-ros')
-rw-r--r--asn1/q932-ros/packet-q932-ros-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/q932-ros/packet-q932-ros-template.c b/asn1/q932-ros/packet-q932-ros-template.c
index 071c34b5ae..190d553a68 100644
--- a/asn1/q932-ros/packet-q932-ros-template.c
+++ b/asn1/q932-ros/packet-q932-ros-template.c
@@ -62,8 +62,8 @@ static tvbuff_t *arg_next_tvb, *res_next_tvb, *err_next_tvb;
#include "packet-q932-ros-fn.c"
/*--- dissect_q932_ros -----------------------------------------------------*/
-static int dissect_q932_ros(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) {
- rose_ctx_tmp = get_rose_ctx(pinfo->private_data);
+static int dissect_q932_ros(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
+ rose_ctx_tmp = get_rose_ctx(data);
DISSECTOR_ASSERT(rose_ctx_tmp);
return dissect_ROS_PDU(tvb, pinfo, tree, NULL);
}