aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-08-22 07:05:31 +0000
committerGuy Harris <guy@alum.mit.edu>2002-08-22 07:05:31 +0000
commit99e286d8a321ee185dfa24c9544ba46c58a31dc2 (patch)
treefe5e4547c51f936d55ae9f29f0ccdc865c8cc350
parent4b66eaac738b6fb786ec6a1906425854c812a776 (diff)
Fix the type of "spoolss_specific_rights()" to match the curent
definition of "nt_access_mask_fn_t". svn path=/trunk/; revision=6059
-rw-r--r--packet-dcerpc-spoolss.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/packet-dcerpc-spoolss.c b/packet-dcerpc-spoolss.c
index 5ac4f2e620..61c5ff6660 100644
--- a/packet-dcerpc-spoolss.c
+++ b/packet-dcerpc-spoolss.c
@@ -2,7 +2,7 @@
* Routines for SMB \PIPE\spoolss packet disassembly
* Copyright 2001-2002, Tim Potter <tpot@samba.org>
*
- * $Id: packet-dcerpc-spoolss.c,v 1.49 2002/08/22 01:13:13 tpot Exp $
+ * $Id: packet-dcerpc-spoolss.c,v 1.50 2002/08/22 07:05:31 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -491,7 +491,7 @@ static int hf_printer_access_admin = -1;
static int hf_printer_access_use = -1;
static int hf_job_access_admin = -1;
-static int
+static void
spoolss_specific_rights(tvbuff_t *tvb, gint offset, proto_tree *tree,
guint32 access)
{
@@ -514,8 +514,6 @@ spoolss_specific_rights(tvbuff_t *tvb, gint offset, proto_tree *tree,
proto_tree_add_boolean(
tree, hf_server_access_admin,
tvb, offset, 4, access);
-
- return offset;
}
/*