From a6cf6cada93640fe6a24a7d3c5403079aeb7b4de Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Dec 2003 09:28:10 +0000 Subject: added netr_LogonSamLogon() and test code (This used to be commit 4fa3ad3ecbfd8f8663fcdfaba9a7db481e303f2b) --- source4/build/pidl/parser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build/pidl') diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm index 579c577d3c..095c083514 100644 --- a/source4/build/pidl/parser.pm +++ b/source4/build/pidl/parser.pm @@ -444,7 +444,7 @@ sub ParseElementPullSwitch($$$$) pidl "\t\tif (_level != $switch_var) {\n"; } pidl "\t\t\treturn ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, \"Bad switch value %u in $e->{NAME}\");\t\t}\n"; - if ($switch =~ /r->/) { + if ($switch_var =~ /r->/) { pidl "else { $switch_var = _level; }\n"; } pidl "\t}\n"; -- cgit