diff options
author | Jörg Mayer <jmayer@loplof.de> | 2002-08-28 21:04:11 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2002-08-28 21:04:11 +0000 |
commit | 7c4176d8688d6642026d3d322570663c9655c7db (patch) | |
tree | fb24347c14c65d6b8d7f7e93e4060abbb7217e0c /packet-smb-pipe.c | |
parent | 48be4e530d6635dbf1ef1dafa984c2060f3caa8a (diff) | |
download | wireshark-7c4176d8688d6642026d3d322570663c9655c7db.tar.gz wireshark-7c4176d8688d6642026d3d322570663c9655c7db.tar.bz2 wireshark-7c4176d8688d6642026d3d322570663c9655c7db.zip |
Removed trailing whitespaces from .h and .c files using the
winapi_cleanup tool written by Patrik Stridvall for the wine
project.
svn path=/trunk/; revision=6117
Diffstat (limited to 'packet-smb-pipe.c')
-rw-r--r-- | packet-smb-pipe.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/packet-smb-pipe.c b/packet-smb-pipe.c index 301dec19c4..b918a8ec68 100644 --- a/packet-smb-pipe.c +++ b/packet-smb-pipe.c @@ -8,24 +8,24 @@ XXX Fixme : shouldnt show [malformed frame] for long packets * significant rewrite to tvbuffify the dissector, Ronnie Sahlberg and * Guy Harris 2001 * - * $Id: packet-smb-pipe.c,v 1.81 2002/08/02 23:36:01 jmayer Exp $ + * $Id: packet-smb-pipe.c,v 1.82 2002/08/28 21:00:31 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs * * Copied from packet-pop.c - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -696,7 +696,7 @@ add_logon_args(tvbuff_t *tvb, int offset, int count, packet_info *pinfo _U_, return offset; } -/* +/* * The following data structure describes the Remote API requests we * understand. * @@ -1406,7 +1406,7 @@ static const struct lanman_desc lmd[] = { lm_data_resp_netsharegetinfo, lm_null }, - { API_NetServerGetInfo, + { API_NetServerGetInfo, lm_params_req_netservergetinfo, NULL, NULL, @@ -3164,7 +3164,7 @@ dissect_pipe_dcerpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree pinfo->can_desegment=0; pinfo->desegment_offset = 0; pinfo->desegment_len = 0; - if(smb_dcerpc_reassembly){ + if(smb_dcerpc_reassembly){ pinfo->can_desegment=2; } @@ -3175,7 +3175,7 @@ dissect_pipe_dcerpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree fragment_data *fd_head; tvbuff_t *new_tvb; - fd_head=fragment_get(pinfo, pinfo->fd->num , + fd_head=fragment_get(pinfo, pinfo->fd->num , dcerpc_fragment_table); if(fd_head && fd_head->flags&FD_DEFRAGMENTED){ new_tvb = tvb_new_real_data(fd_head->data, @@ -3202,8 +3202,8 @@ dissect_pipe_dcerpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree fragment_add(d_tvb, 0, pinfo, pinfo->fd->num, dcerpc_fragment_table, 0, tvb_length(d_tvb), TRUE); - fragment_set_tot_len(pinfo, pinfo->fd->num, - dcerpc_fragment_table, + fragment_set_tot_len(pinfo, pinfo->fd->num, + dcerpc_fragment_table, pinfo->desegment_len+tvb_length(d_tvb)); /* since the other fragments are in normal ReadAndX and WriteAndX calls we must make sure we can map FID values to this defragmentation @@ -3212,7 +3212,7 @@ dissect_pipe_dcerpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree if(g_hash_table_lookup(smb_priv->ct->dcerpc_fid_to_frame, (void *)fid)){ g_hash_table_remove(smb_priv->ct->dcerpc_fid_to_frame, (void *)fid); } - g_hash_table_insert(smb_priv->ct->dcerpc_fid_to_frame, (void *)fid, + g_hash_table_insert(smb_priv->ct->dcerpc_fid_to_frame, (void *)fid, (void *)pinfo->fd->num); } /* clear out the variables */ @@ -3425,7 +3425,7 @@ dissect_pipe_smb(tvbuff_t *sp_tvb, tvbuff_t *s_tvb, tvbuff_t *pd_tvb, /* assume it is DCERPC */ trans_subcmd=PIPE_DCERPC; } - + if (!pinfo->fd->flags.visited) tri->trans_subcmd = trans_subcmd; } else |