svn commit: samba r3303 - in branches/SAMBA_4_0/source/build/pidl: .
tpot at samba.org
tpot at samba.org
Thu Oct 28 03:58:18 GMT 2004
Author: tpot
Date: 2004-10-28 03:58:17 +0000 (Thu, 28 Oct 2004)
New Revision: 3303
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/build/pidl&rev=3303&nolog=1
Log:
Call pull function for correct type instead of spoolss_PrinterInfo when
unmarshalling arrays.
Modified:
branches/SAMBA_4_0/source/build/pidl/swig.pm
Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/swig.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/swig.pm 2004-10-28 03:40:35 UTC (rev 3302)
+++ branches/SAMBA_4_0/source/build/pidl/swig.pm 2004-10-28 03:58:17 UTC (rev 3303)
@@ -599,7 +599,7 @@
$result .= "\tfor (i=0;i<count;i++) {\n";
$result .= "\t\tndr->data += ndr->offset;\n";
$result .= "\t\tndr->offset = 0;\n";
- $result .= "\t\tNDR_CHECK(ndr_pull_spoolss_PrinterInfo(ndr, NDR_SCALARS|NDR_BUFFERS, level, &(*info)[i]));\n";
+ $result .= "\t\tNDR_CHECK(ndr_pull_$u->{NAME}(ndr, NDR_SCALARS|NDR_BUFFERS, level, &(*info)[i]));\n";
$result .= "\t}\n\n";
$result .= "\treturn NT_STATUS_OK;\n";
$result .= "\t}\n";
More information about the samba-cvs
mailing list