summaryrefslogtreecommitdiffstats
path: root/source3/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
commitb40e73e2ca520eaeb3f3751fab31be669f287938 (patch)
tree39932b5e330a83ee6a735eb41648062a05caa559 /source3/printing
parent81ca81e85b62a10149b49d150b2a7bc591a73b5d (diff)
downloadsamba-b40e73e2ca520eaeb3f3751fab31be669f287938.tar.gz
samba-b40e73e2ca520eaeb3f3751fab31be669f287938.tar.xz
samba-b40e73e2ca520eaeb3f3751fab31be669f287938.zip
specversion merge from SAMBA_2_2
(This used to be commit d87aa35d482824df7b5a2e87240ae43c113cc730)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index e9af659c19..26320c24fa 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/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);
/*