git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8e2f3ec
)
removed unnecessary memset
author
Gerald Carter
<jerry@samba.org>
Thu, 11 Apr 2002 03:15:02 +0000
(
03:15
+0000)
committer
Gerald Carter
<jerry@samba.org>
Thu, 11 Apr 2002 03:15:02 +0000
(
03:15
+0000)
(This used to be commit
233a24792ea305e92c15b43f57839391ca91d1b6
)
source3/printing/nt_printing.c
patch
|
blob
|
history
diff --git
a/source3/printing/nt_printing.c
b/source3/printing/nt_printing.c
index 26320c24facff6e32964f79932c888bbe139e1dd..907c3fd8e6987f9d5bb20ded7d91fe8c1e50c14d 100644
(file)
--- 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,
GENERIC_MAPPING printer_generic_mapping = {
PRINTER_READ,
+ PRINTER_WRITE,
PRINTER_EXECUTE,
PRINTER_ALL_ACCESS
};
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;
}
goto done;
}
- memset(nt_devmode, 0x0, sizeof(NT_DEVICEMODE));
-
ZERO_STRUCTP(nt_devmode);
/*
ZERO_STRUCTP(nt_devmode);
/*