summaryrefslogtreecommitdiffstats
path: root/source/printing
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-04-11 01:48:38 +0000
committerGerald Carter <jerry@samba.org>2002-04-11 01:48:38 +0000
commitd87aa35d482824df7b5a2e87240ae43c113cc730 (patch)
tree39409c28561a6ef9e473900e95f4f05a050baa81 /source/printing
parentf8673bd499c7c3993a5860d2ebe9ae2403105316 (diff)
downloadsamba-d87aa35d482824df7b5a2e87240ae43c113cc730.tar.gz
samba-d87aa35d482824df7b5a2e87240ae43c113cc730.tar.xz
samba-d87aa35d482824df7b5a2e87240ae43c113cc730.zip
specversion merge from SAMBA_2_2
Diffstat (limited to 'source/printing')
-rw-r--r--source/printing/nt_printing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index e9af659c197..26320c24fac 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -3099,6 +3099,8 @@ 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);
/*