s3-spoolss: use PRINTER_ENUM_NAME and remove double enum define.
authorGünther Deschner <gd@samba.org>
Mon, 9 Feb 2009 14:21:30 +0000 (15:21 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 9 Feb 2009 14:59:04 +0000 (15:59 +0100)
Guenther

source3/include/rpc_spoolss.h
source3/rpc_server/srv_spoolss_nt.c

index c2d5c686cb6b89bb2dad5bf9f7476764e44e1f1a..4aa51b26746e3692be234696e4d3b9401a82524e 100644 (file)
@@ -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
index 03ef668bbee05cd7ed20b52932c5eda6311d6d22..31ab2ca43dd8b522903aeb6d79f61ed7f62111d7 100644 (file)
@@ -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);
 }
 
 /********************************************************************