summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba/Template.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-11-06 14:31:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:51 -0500
commitcca42c611a3f39b18395bcc40b097c65dd3469ae (patch)
tree9770854c9a3baf35f29599f1fe5be8125e2b93eb /source4/pidl/lib/Parse/Pidl/Samba/Template.pm
parent4c57d08c5291edd773db503736b6ae35bd5b04cb (diff)
downloadsamba-cca42c611a3f39b18395bcc40b097c65dd3469ae.tar.gz
samba-cca42c611a3f39b18395bcc40b097c65dd3469ae.tar.bz2
samba-cca42c611a3f39b18395bcc40b097c65dd3469ae.zip
r11539: Fix indentation in templates. Always generate lower-case
UUID strings as GUID_from_string seems to have trouble with uppercased ones. (This used to be commit 16ea96c81ed88f197007335f442c9e62b4ccd6de)
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 .= "}
";
}