pidl:NDR/Client: make the generated code look a bit nicer
authorStefan Metzmacher <metze@samba.org>
Tue, 21 Sep 2010 01:41:03 +0000 (03:41 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 28 Sep 2010 21:06:48 +0000 (23:06 +0200)
metze

pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm

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