summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-08 22:18:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:40 -0500
commite056ed97d79c046a7f4b9562ad785fc54719a8ce (patch)
treea2000af9b0e4da9b3768708966114fe80e071f81 /source4/build/pidl
parent73c1f61350a01c0cc5825ae0a08bb4c03121eda4 (diff)
downloadsamba-e056ed97d79c046a7f4b9562ad785fc54719a8ce.tar.gz
samba-e056ed97d79c046a7f4b9562ad785fc54719a8ce.tar.bz2
samba-e056ed97d79c046a7f4b9562ad785fc54719a8ce.zip
r3626: More minor DCOM fixes
(This used to be commit 709f279b192c8f9eeea04749169c00f2d57b20d3)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/client.pm4
-rw-r--r--source4/build/pidl/parser.pm4
2 files changed, 2 insertions, 6 deletions
diff --git a/source4/build/pidl/client.pm b/source4/build/pidl/client.pm
index 1c0baa16f8..549a5d0dd3 100644
--- a/source4/build/pidl/client.pm
+++ b/source4/build/pidl/client.pm
@@ -35,8 +35,8 @@ struct rpc_request *dcerpc_$name\_send(struct dcom_interface *d, TALLOC_CTX *mem
}
ZERO_STRUCT(r->in.ORPCthis);
- r->in.ORPCthis.version.MajorVersion = 5;
- r->in.ORPCthis.version.MinorVersion = 1;
+ r->in.ORPCthis.version.MajorVersion = COM_MAJOR_VERSION;
+ r->in.ORPCthis.version.MinorVersion = COM_MINOR_VERSION;
";
} else {
diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm
index 2ace0fdd8f..fd95f91665 100644
--- a/source4/build/pidl/parser.pm
+++ b/source4/build/pidl/parser.pm
@@ -1316,10 +1316,6 @@ sub ParseFunctionPush($)
pidl "\n\tif (!(flags & NDR_IN)) goto ndr_out;\n\n";
- if (util::has_property($fn, "object")) {
- # FIXME: Set COM version and possibly causality ID
- }
-
foreach my $e (@{$fn->{DATA}}) {
if (util::has_property($e, "in")) {
ParseFunctionElementPush($e, "in");