1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

pidl:NDR/Client: make the generated code look a bit nicer

metze
This commit is contained in:
Stefan Metzmacher 2010-09-21 03:41:03 +02:00
parent bffa192bfe
commit 3fa29cdd94

View File

@ -103,12 +103,12 @@ sub ParseFunction_r_Send($$$$)
$self->pidl("return tevent_req_post(req, ev);"); $self->pidl("return tevent_req_post(req, ev);");
$self->deindent; $self->deindent;
$self->pidl("}"); $self->pidl("}");
$self->pidl("");
$submem = "state->out_mem_ctx"; $submem = "state->out_mem_ctx";
} else { } else {
$self->pidl("state->out_mem_ctx = NULL;"); $self->pidl("state->out_mem_ctx = NULL;");
$submem = "state"; $submem = "state";
} }
$self->pidl("");
$self->pidl("subreq = dcerpc_binding_handle_call_send(state, ev, h,"); $self->pidl("subreq = dcerpc_binding_handle_call_send(state, ev, h,");
$self->pidl("\t\tNULL, &ndr_table_$if->{NAME},"); $self->pidl("\t\tNULL, &ndr_table_$if->{NAME},");