diff options
author | Tim Potter <tpot@samba.org> | 2004-10-28 03:58:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:51 -0500 |
commit | 9d1e2b29ebf14beae4fc63b2cb85f4e2d1798021 (patch) | |
tree | 280e4f3a638ecd0d7909da0bf1cbec9a057f75a0 /source4/build/pidl | |
parent | fe54d8bc99f4ccfcaba2116430213161ebb6bf39 (diff) | |
download | samba-9d1e2b29ebf14beae4fc63b2cb85f4e2d1798021.tar.gz samba-9d1e2b29ebf14beae4fc63b2cb85f4e2d1798021.tar.bz2 samba-9d1e2b29ebf14beae4fc63b2cb85f4e2d1798021.zip |
r3303: Call pull function for correct type instead of spoolss_PrinterInfo when
unmarshalling arrays.
(This used to be commit ee535b6801e553d0a180f18cc2c4b4438ee23de1)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r-- | source4/build/pidl/swig.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/swig.pm b/source4/build/pidl/swig.pm index f0bb413a3b..922ee16f6f 100644 --- a/source4/build/pidl/swig.pm +++ b/source4/build/pidl/swig.pm @@ -599,7 +599,7 @@ sub ParseUnion($) $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"; |