aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb.c
diff options
context:
space:
mode:
authorLaurent Deniel <laurent.deniel@free.fr>1999-11-21 11:17:13 +0000
committerLaurent Deniel <laurent.deniel@free.fr>1999-11-21 11:17:13 +0000
commiteb65d4fdb9286a6d339b01e9c4b60a5441aa3aa3 (patch)
treec7e9e4195adfc6a35fd8c188bfe6affbe1b60cc6 /packet-smb.c
parentec64846d2617dfcc2c5bab0b6bf6da75686feb1b (diff)
downloadwireshark-eb65d4fdb9286a6d339b01e9c4b60a5441aa3aa3.tar.gz
wireshark-eb65d4fdb9286a6d339b01e9c4b60a5441aa3aa3.tar.bz2
wireshark-eb65d4fdb9286a6d339b01e9c4b60a5441aa3aa3.zip
Remove debugging printf.
svn path=/trunk/; revision=1082
Diffstat (limited to 'packet-smb.c')
-rw-r--r--packet-smb.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/packet-smb.c b/packet-smb.c
index 9325eb6eb1..123dbeea46 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.44 1999/11/20 13:48:26 sharpe Exp $
+ * $Id: packet-smb.c,v 1.45 1999/11/21 11:17:13 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -8887,8 +8887,6 @@ dissect_transact_params(const u_char *pd, int offset, frame_data *fd, proto_tree
guint8 Pad2;
gchar *Data;
- printf("SMB_offset = %u, ParamOffset = %u, DataOffset = %u\n", SMB_offset, ParameterOffset, DataOffset);
-
TransactNameCopy = g_malloc(strlen(TransactName) + 1);
/* Should check for error here ... */
@@ -8905,8 +8903,6 @@ dissect_transact_params(const u_char *pd, int offset, frame_data *fd, proto_tree
else
trans_cmd = NULL;
- printf("Trans_Type=%s, cmd=%s\n", trans_type, trans_cmd);
-
if (((strcmp(trans_type, "MAILSLOT") != 0) ||
!dissect_mailslot_smb(pd, offset, fd, parent, tree, si, max_data, SMB_offset, errcode, dirn, trans_cmd, SMB_offset + DataOffset, DataCount)) &&
((strcmp(trans_type, "PIPE") != 0) ||
@@ -9313,8 +9309,6 @@ dissect_transact_smb(const u_char *pd, int offset, frame_data *fd, proto_tree *p
/* Let's see if we can decode this */
- printf("Let;s try to decode\n");
-
dissect_transact_params(pd, offset, fd, parent, tree, si, max_data, SMB_offset, errcode, dirn, DataOffset, DataCount, ParameterOffset, ParameterCount, TransactName);
}
@@ -9708,8 +9702,6 @@ dissect_pipe_lanman(const u_char *pd, int offset, frame_data *fd, proto_tree *pa
FunctionCode = si.request_val -> last_lanman_cmd;
- printf("LANMAN response\n");
-
switch (FunctionCode) {
case NETSERVERENUM2:
@@ -9729,8 +9721,6 @@ dissect_pipe_lanman(const u_char *pd, int offset, frame_data *fd, proto_tree *pa
}
- printf("SMB_offset=%u, ParameterOffset=%u\n", SMB_offset, ParameterOffset);
-
loc_offset = SMB_offset + ParameterOffset;
Status = GSHORT(pd, loc_offset);
@@ -9863,7 +9853,6 @@ dissect_pipe_smb(const u_char *pd, int offset, frame_data *fd, proto_tree *paren
if (strcmp(command, "LANMAN") == 0) { /* Try to decode a LANMAN */
- printf("LANMAN done \n");
return dissect_pipe_lanman(pd, offset, fd, parent, tree, si, max_data, SMB_offset, errcode, dirn, command, DataOffset, DataCount, ParameterOffset, ParameterCount);
}