summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-25 07:31:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:40 -0500
commit266e36aa54dc82a48655d6c64cb8cd3fbfdf4fa9 (patch)
tree82ae4c37c71243668ac86f37aab5e0a56465f285 /source4/scripting
parentd200f9385f1088240eb588deb94550291796ca10 (diff)
downloadsamba-266e36aa54dc82a48655d6c64cb8cd3fbfdf4fa9.tar.gz
samba-266e36aa54dc82a48655d6c64cb8cd3fbfdf4fa9.tar.bz2
samba-266e36aa54dc82a48655d6c64cb8cd3fbfdf4fa9.zip
r3204: Got unpacking of an array of PrinterInfo union elements working. Phew.
(This used to be commit f490cd719cc02589e73e26fa983aff90708d1926)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/swig/torture/spoolss.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/swig/torture/spoolss.py b/source4/scripting/swig/torture/spoolss.py
index d7a16917f9..8336a027df 100644
--- a/source4/scripting/swig/torture/spoolss.py
+++ b/source4/scripting/swig/torture/spoolss.py
@@ -17,7 +17,7 @@ def test_EnumPrinters(pipe):
result = dcerpc.spoolss_EnumPrinters(pipe, r)
- print dcerpc.unmarshall_spoolss_PrinterInfo1(result['buffer'])
+ print dcerpc.unmarshall_spoolss_PrinterInfo_array(result['buffer'], r['level'], result['count'])
def runtests(binding, domain, username, password):