summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba/Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba/Template.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba/Template.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba/Template.pm b/source4/pidl/lib/Parse/Pidl/Samba/Template.pm
index 1960c89154..52bc2b2d3d 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba/Template.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba/Template.pm
@@ -60,16 +60,16 @@ sub Template($)
*/
static $d->{RETURN_TYPE} $fname(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct $fname *r)
-{";
+{
+";
if ($d->{RETURN_TYPE} eq "void") {
- $res .= "DCESRV_FAULT_VOID(DCERPC_FAULT_OP_RNG_ERROR);\n";
+ $res .= "\tDCESRV_FAULT_VOID(DCERPC_FAULT_OP_RNG_ERROR);\n";
} else {
- $res .= "DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);\n";
+ $res .= "\tDCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);\n";
}
- $res .= "
-}
+ $res .= "}
";
}