diff options
author | Michael Mann <mmann78@netscape.net> | 2013-11-03 12:57:58 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-11-03 12:57:58 +0000 |
commit | 149de99d6866105dc07b9ec180d4ce0db3b777e1 (patch) | |
tree | 6533efa45f0acb10d741ffce1f0cfafb658d7c25 /asn1/q932-ros | |
parent | 0dc80637daa1990f5b091e33a9b2da0f9e8802e5 (diff) | |
download | wireshark-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.c | 4 |
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); } |