summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-10-21 04:44:44 +0000
committerTim Potter <tpot@samba.org>2002-10-21 04:44:44 +0000
commitd897c63fb596ba9a5a1c6a25f80bdc37b654c611 (patch)
treecf69e224475a4b0ab8786a3cbcab098d4535cdb4 /source3
parent48a56c12e268845d037ea0c4115a0df37cb20e26 (diff)
downloadsamba-d897c63fb596ba9a5a1c6a25f80bdc37b654c611.tar.gz
samba-d897c63fb596ba9a5a1c6a25f80bdc37b654c611.tar.bz2
samba-d897c63fb596ba9a5a1c6a25f80bdc37b654c611.zip
Zero some more return values.
(This used to be commit 7f45bad319ace07a5bfc21465a0db919131dd608)
Diffstat (limited to 'source3')
-rw-r--r--source3/python/py_spoolss_drivers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/python/py_spoolss_drivers.c b/source3/python/py_spoolss_drivers.c
index 644280fea2..6daa32d0f4 100644
--- a/source3/python/py_spoolss_drivers.c
+++ b/source3/python/py_spoolss_drivers.c
@@ -358,7 +358,8 @@ PyObject *spoolss_addprinterdriver(PyObject *self, PyObject *args,
}
ZERO_STRUCT(ctr);
-
+ ZERO_STRUCT(dinfo);
+
switch(level) {
case 3:
ctr.info3 = &dinfo.driver_3;