Fix the type of "spoolss_specific_rights()" to match the curent
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 22 Aug 2002 07:05:31 +0000 (07:05 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 22 Aug 2002 07:05:31 +0000 (07:05 +0000)
definition of "nt_access_mask_fn_t".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6059 f5534014-38df-0310-8fa8-9805f1628bb7

packet-dcerpc-spoolss.c

index 5ac4f2e6207add35dc5a9ea3b9ede0402712a0b1..61c5ff6660b96cb2e217e87f4ecb15204cd7af12 100644 (file)
@@ -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;
 }
 
 /*