summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4/NDR
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-27 19:47:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:55 -0500
commit7f0f39aa230489977655f8ad6999942788a473b4 (patch)
tree8c55e1039e67a0a06a00154ab3c7a5970c29399d /source4/pidl/lib/Parse/Pidl/Samba4/NDR
parent616c45f16a56527f54d428a7fbeabcc9952459f5 (diff)
downloadsamba-7f0f39aa230489977655f8ad6999942788a473b4.tar.gz
samba-7f0f39aa230489977655f8ad6999942788a473b4.tar.bz2
samba-7f0f39aa230489977655f8ad6999942788a473b4.zip
r24721: Avoid True and False because they are only available within Samba.
(This used to be commit 2d049c8d30876075b03ff74f7ba6d0c57bfb5c45)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4/NDR')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm4
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm8
2 files changed, 6 insertions, 6 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index 166a3a6b59..9a29b72c1d 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -2290,11 +2290,11 @@ sub FunctionTable($$)
$self->pidl("\t\t(ndr_push_flags_fn_t) ndr_push_$d->{NAME},");
$self->pidl("\t\t(ndr_pull_flags_fn_t) ndr_pull_$d->{NAME},");
$self->pidl("\t\t(ndr_print_function_t) ndr_print_$d->{NAME},");
- $self->pidl("\t\t".($d->{ASYNC}?"True":"False").",");
+ $self->pidl("\t\t".($d->{ASYNC}?"true":"false").",");
$self->pidl("\t},");
$count++;
}
- $self->pidl("\t{ NULL, 0, NULL, NULL, NULL, False }");
+ $self->pidl("\t{ NULL, 0, NULL, NULL, NULL, false }");
$self->pidl("};");
$self->pidl("");
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
index f5ff15dabf..b6980acc0f 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
@@ -232,20 +232,20 @@ static bool $name\__op_interface_by_uuid(struct dcesrv_interface *iface, const s
if (dcesrv_$name\_interface.syntax_id.if_version == if_version &&
GUID_equal(\&dcesrv\_$name\_interface.syntax_id.uuid, uuid)) {
memcpy(iface,&dcesrv\_$name\_interface, sizeof(*iface));
- return True;
+ return true;
}
- return False;
+ return false;
}
static bool $name\__op_interface_by_name(struct dcesrv_interface *iface, const char *name)
{
if (strcmp(dcesrv_$name\_interface.name, name)==0) {
memcpy(iface, &dcesrv_$name\_interface, sizeof(*iface));
- return True;
+ return true;
}
- return False;
+ return false;
}
NTSTATUS dcerpc_server_$name\_init(void)