mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r24721: Avoid True and False because they are only available within Samba.
This commit is contained in:
parent
08f7389ab7
commit
2d049c8d30
@ -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("");
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user