1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

r10787: Fix silly nodiscriminant-issue

(This used to be commit 43a5c863bf81af9b8415b6ccf8a386c36d4fa7f9)
This commit is contained in:
Jelmer Vernooij 2005-10-06 20:07:53 +00:00 committed by Gerald (Jerry) Carter
parent f7cd569828
commit 0ef0467039
2 changed files with 5 additions and 1 deletions

View File

@ -10,3 +10,7 @@
a (regular) remote error occurs
- support nested elements
- Don't output [ref] pointers for Samba 4?
- alternative to subcontext()

View File

@ -394,7 +394,7 @@ sub ParseUnion($$$)
indent;
DeclareArrayVariables($u->{ELEMENTS});
if (has_property($u, "nodiscriminant")) {
unless (has_property($u, "nodiscriminant")) {
pidl "if (!prs_uint32(\"switch_value\", ps, depth, &v->switch_value))";
pidl "\treturn False;";
pidl "";