summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-04-11 03:15:02 +0000
committerGerald Carter <jerry@samba.org>2002-04-11 03:15:02 +0000
commite1e8c5b396a1cf46bca7b62efb53c62a8de7965c (patch)
treeb8a102a352650f152a06d12c1ab2bd37022c63ee /source3
parent8e2f3ec1d175ae530842b502c4f0431b50dd364e (diff)
downloadsamba-e1e8c5b396a1cf46bca7b62efb53c62a8de7965c.tar.gz
samba-e1e8c5b396a1cf46bca7b62efb53c62a8de7965c.tar.bz2
samba-e1e8c5b396a1cf46bca7b62efb53c62a8de7965c.zip
removed unnecessary memset
(This used to be commit 233a24792ea305e92c15b43f57839391ca91d1b6)
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/nt_printing.c3
1 files changed, 1 insertions, 2 deletions
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);
/*