From e1e8c5b396a1cf46bca7b62efb53c62a8de7965c Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 11 Apr 2002 03:15:02 +0000 Subject: removed unnecessary memset (This used to be commit 233a24792ea305e92c15b43f57839391ca91d1b6) --- source3/printing/nt_printing.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/printing') diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 26320c24fa..907c3fd8e6 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -44,6 +44,7 @@ static TDB_CONTEXT *tdb_printers; /* used for printers files */ GENERIC_MAPPING printer_generic_mapping = { PRINTER_READ, + PRINTER_WRITE, PRINTER_EXECUTE, PRINTER_ALL_ACCESS }; @@ -3099,8 +3100,6 @@ static WERROR save_driver_init_2(NT_PRINTER_INFO_LEVEL *printer, NT_PRINTER_PARA goto done; } - memset(nt_devmode, 0x0, sizeof(NT_DEVICEMODE)); - ZERO_STRUCTP(nt_devmode); /* -- cgit