aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-browse.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-01-19 20:10:37 +0000
committerJörg Mayer <jmayer@loplof.de>2004-01-19 20:10:37 +0000
commit3e2633a0f40ac8111c152f4e4e7c93a55293eb8c (patch)
tree8311f985ba13a831fce0716f506b0cb5e79b2271 /packet-smb-browse.c
parent6f6fc13e5b57f0baa1847b2e3d3f9a9f9dad4c44 (diff)
char *drep -> guint8 *drep
svn path=/trunk/; revision=9735
Diffstat (limited to 'packet-smb-browse.c')
-rw-r--r--packet-smb-browse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/packet-smb-browse.c b/packet-smb-browse.c
index 85c38e3d9a..d5c78339e3 100644
--- a/packet-smb-browse.c
+++ b/packet-smb-browse.c
@@ -2,7 +2,7 @@
* Routines for SMB Browser packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-smb-browse.c,v 1.35 2004/01/10 02:43:28 guy Exp $
+ * $Id: packet-smb-browse.c,v 1.36 2004/01/19 20:10:36 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -463,7 +463,7 @@ dissect_election_criterion(tvbuff_t *tvb, proto_tree *parent_tree, int offset)
*/
int
dissect_smb_server_type_flags(tvbuff_t *tvb, int offset, packet_info *pinfo,
- proto_tree *parent_tree, char *drep,
+ proto_tree *parent_tree, guint8 *drep,
gboolean infoflag)
{
proto_tree *tree = NULL;
@@ -570,8 +570,8 @@ dissect_mailslot_browse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
proto_tree *tree = NULL;
proto_item *item = NULL;
guint32 periodicity;
- char host_name[17];
- guint namelen;
+ guint8 host_name[17];
+ gint namelen;
guint8 server_count, reset_cmd;
int i;
guint32 uptime;
@@ -680,7 +680,7 @@ dissect_mailslot_browse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
break;
}
case BROWSE_REQUEST_ANNOUNCE: {
- char *computer_name;
+ guint8 *computer_name;
/* unused/unknown flags */
proto_tree_add_item(tree, hf_unused_flags,
@@ -819,7 +819,7 @@ dissect_mailslot_lanman(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
proto_tree *tree = NULL;
proto_item *item = NULL;
guint32 periodicity;
- const char *host_name;
+ const guint8 *host_name;
guint namelen;
if (check_col(pinfo->cinfo, COL_PROTOCOL)) {