aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-08-02 09:30:09 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-08-02 09:30:09 +0000
commit2ec6a4c9fb945b5dae355f6d333ac99c905f565a (patch)
tree7faed41cb8908aa80f8b3fd5d4fdff5778a06bce
parentc88d48affcd3e930341617f4fb40944adb970a70 (diff)
The "mid" field of the "smb_request_val" structure isn't used; eliminate
it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3810 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--packet-smb.c9
-rw-r--r--smb.h3
2 files changed, 2 insertions, 10 deletions
diff --git a/packet-smb.c b/packet-smb.c
index 36fbe0d9f1..e69203cc48 100644
--- a/packet-smb.c
+++ b/packet-smb.c
@@ -2,7 +2,7 @@
* Routines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-smb.c,v 1.89 2001/08/02 08:48:46 guy Exp $
+ * $Id: packet-smb.c,v 1.90 2001/08/02 09:30:09 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -8986,17 +8986,11 @@ dissect_transact2_smb(const u_char *pd, int offset, frame_data *fd, proto_tree *
new_request_key -> pid = si.pid;
request_val = g_mem_chunk_alloc(smb_request_vals);
- request_val -> mid = si.mid;
request_val -> last_transact2_command = 0xFFFF;
g_hash_table_insert(smb_request_hash, new_request_key, request_val);
}
- else { /* Update the transact request */
-
- request_val -> mid = si.mid;
-
- }
si.request_val = request_val; /* Save this for later */
@@ -9742,7 +9736,6 @@ dissect_transact_smb(const u_char *pd, int offset, frame_data *fd, proto_tree *p
new_request_key -> pid = si.pid;
request_val = g_mem_chunk_alloc(smb_request_vals);
- request_val -> mid = si.mid;
request_val -> last_transact_command = NULL;
request_val -> last_param_descrip = NULL;
request_val -> last_data_descrip = NULL;
diff --git a/smb.h b/smb.h
index 71dc68a00e..c1ed57996a 100644
--- a/smb.h
+++ b/smb.h
@@ -2,7 +2,7 @@
* Defines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: smb.h,v 1.6 2001/01/29 08:14:42 sharpe Exp $
+ * $Id: smb.h,v 1.7 2001/08/02 09:30:09 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -630,7 +630,6 @@
struct smb_request_val {
guint16 last_transact2_command;
gchar *last_transact_command;
- guint16 mid;
guint16 last_lanman_cmd;
gchar *last_param_descrip; /* Keep these descriptors around */
gchar *last_data_descrip;