summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-09 15:21:30 +0100
committerGünther Deschner <gd@samba.org>2009-02-09 15:59:04 +0100
commitc94c777d9cc951d71cf1c8efc8f56f16a3da75c1 (patch)
treedcdb0e9f2df8cb26abd41a439a8776471be2273d /source3
parentec302a1cfe36e8cdd69fc3ecac16559516e6e860 (diff)
downloadsamba-c94c777d9cc951d71cf1c8efc8f56f16a3da75c1.tar.gz
samba-c94c777d9cc951d71cf1c8efc8f56f16a3da75c1.tar.bz2
samba-c94c777d9cc951d71cf1c8efc8f56f16a3da75c1.zip
s3-spoolss: use PRINTER_ENUM_NAME and remove double enum define.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/rpc_spoolss.h1
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h
index c2d5c686cb..4aa51b2674 100644
--- a/source3/include/rpc_spoolss.h
+++ b/source3/include/rpc_spoolss.h
@@ -266,7 +266,6 @@ PRINTER_MESSAGE_INFO;
#define DEF_PRIORITY 1
/* the flags of each printers */
-#define PRINTER_ENUM_UNKNOWN_8 0x00000008
#define PRINTER_ENUM_ICONMASK 0x00ff0000
#define DRIVER_ANY_VERSION 0xffffffff
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 03ef668bbe..31ab2ca43d 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -4563,7 +4563,7 @@ static WERROR enum_all_printers_info_1_network(fstring name, RPC_BUFFER *buffer,
if (is_myname_or_ipaddr(s))
return WERR_CAN_NOT_COMPLETE;
- return enum_all_printers_info_1(PRINTER_ENUM_UNKNOWN_8, buffer, offered, needed, returned);
+ return enum_all_printers_info_1(PRINTER_ENUM_NAME, buffer, offered, needed, returned);
}
/********************************************************************