summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/eparser.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/build/pidl/eparser.pm b/source4/build/pidl/eparser.pm
index cf2f6a4d54..25b09febb8 100644
--- a/source4/build/pidl/eparser.pm
+++ b/source4/build/pidl/eparser.pm
@@ -698,8 +698,8 @@ sub RewriteC($$$)
s/(ndr_pull_([^\)]*?)\(
ndr,\
(NDR_[^,]*?),\
- (&?r->(in|out|)\.?([^\(].*?))\);)
- /ndr_pull_$2(ndr, $3, get_subtree(tree, \"$6\", ndr, ett_$2), $4);
+ (&?r->((in|out)\.)?([^\(].*?))\);)
+ /ndr_pull_$2(ndr, $3, get_subtree(tree, \"$7\", ndr, ett_$2), $4);
/smgx;
}
@@ -709,7 +709,7 @@ sub RewriteC($$$)
s/(ndr_pull_([^\)]*?)\(
ndr,\
(NDR_[^,]*?),\
- (&?r->(in|out|)\.?([^\(].*?))\);)
+ (&?r->((in|out)\.)?([^\(].*?))\);)
/ndr_pull_$2(ndr, $3, get_subtree(tree, \"$2\", ndr, ett_$2), $4);
/smgx;
}