r1611: Put a brace on a new line.
[samba.git] / source / build / pidl / parser.pm
index 7bfd691d00fc852c6bb3cf17862a6116eab21fcd..aa05491bb9bd421b91b4873cd6b009f1b9105192 100644 (file)
@@ -448,7 +448,8 @@ sub ParseElementPullSwitch($$$$)
                } else {
                        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}\", _level);\t\t}\n";
+               pidl "\t\t\treturn ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, \"Bad switch value %u in $e->{NAME}\", _level);\n";
+               pidl "\t\t}\n";
                if ($switch_var =~ /r->/) {
                        pidl "else { $switch_var = _level; }\n";
                }