From c94c777d9cc951d71cf1c8efc8f56f16a3da75c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Mon, 9 Feb 2009 15:21:30 +0100 Subject: [PATCH] s3-spoolss: use PRINTER_ENUM_NAME and remove double enum define. Guenther --- source3/include/rpc_spoolss.h | 1 - source3/rpc_server/srv_spoolss_nt.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h index c2d5c686cb6..4aa51b26746 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 03ef668bbee..31ab2ca43dd 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); } /******************************************************************** -- 2.11.4.GIT