From ce021247f850ada0fce4bc7841895f452996f3f7 Mon Sep 17 00:00:00 2001 From: deniel Date: Sun, 21 Nov 1999 11:17:13 +0000 Subject: Remove debugging printf. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1082 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-smb.c | 13 +------------ 1 file changed, 1 insertion(+), 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 * - * $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 @@ -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); } -- cgit v1.2.3