diff options
-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"; |