aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-mailslot.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-10-25 23:59:30 +0000
committerMichael Mann <mmann78@netscape.net>2013-10-25 23:59:30 +0000
commit1e0405a3a33668924e3ebd1a9b3cef37df07430e (patch)
tree7db7470ea02014908778561d80cf8d013d237747 /epan/dissectors/packet-smb-mailslot.c
parent7a2de9f471d1057ff5f90cb450ae9fe44cc7648a (diff)
Remove SMB's use of private_data and just pass the data through all of the dissection functions
svn path=/trunk/; revision=52856
Diffstat (limited to 'epan/dissectors/packet-smb-mailslot.c')
-rw-r--r--epan/dissectors/packet-smb-mailslot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-smb-mailslot.c b/epan/dissectors/packet-smb-mailslot.c
index 6733a0059b..cc3bafd905 100644
--- a/epan/dissectors/packet-smb-mailslot.c
+++ b/epan/dissectors/packet-smb-mailslot.c
@@ -81,9 +81,8 @@ static const value_string class_vals[] = {
gboolean
dissect_mailslot_smb(tvbuff_t *mshdr_tvb, tvbuff_t *setup_tvb,
tvbuff_t *tvb, const char *mailslot, packet_info *pinfo,
- proto_tree *parent_tree)
+ proto_tree *parent_tree, smb_info_t* smb_info)
{
- smb_info_t *smb_info;
smb_transact_info_t *tri;
int trans_subcmd;
proto_tree *tree = NULL;
@@ -107,7 +106,6 @@ dissect_mailslot_smb(tvbuff_t *mshdr_tvb, tvbuff_t *setup_tvb,
col_clear(pinfo->cinfo, COL_INFO);
- smb_info = (smb_info_t *)pinfo->private_data;
if (smb_info->sip != NULL && smb_info->sip->extra_info_type == SMB_EI_TRI)
tri = (smb_transact_info_t *)smb_info->sip->extra_info;
else