summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-20 01:25:08 +0100
committerMichael Adam <obnox@samba.org>2008-01-20 02:03:39 +0100
commitf383b853f58d54352332a60e6f0842dfd41f5ff0 (patch)
treeffe5abc844d3080d4e8d9b987349ad50a3801f54 /source3
parent663815ec2bbb4b2566a6d72f6680b39953640bb1 (diff)
downloadsamba-f383b853f58d54352332a60e6f0842dfd41f5ff0.tar.gz
samba-f383b853f58d54352332a60e6f0842dfd41f5ff0.tar.bz2
samba-f383b853f58d54352332a60e6f0842dfd41f5ff0.zip
Some reformatting in prod_options_fetch_values().
Michael (This used to be commit 347b9886547516bc2a43190ae7faaf349d2c9d04)
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_prod_options.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/registry/reg_backend_prod_options.c b/source3/registry/reg_backend_prod_options.c
index 7be97bee06..7ac5c5b4b9 100644
--- a/source3/registry/reg_backend_prod_options.c
+++ b/source3/registry/reg_backend_prod_options.c
@@ -33,10 +33,10 @@ extern REGISTRY_OPS regdb_ops;
static int prod_options_fetch_values(const char *key, REGVAL_CTR *regvals)
{
- const char *value_ascii = "";
- fstring value;
- int value_length;
-
+ const char *value_ascii = "";
+ fstring value;
+ int value_length;
+
switch (lp_server_role()) {
case ROLE_DOMAIN_PDC:
case ROLE_DOMAIN_BDC:
@@ -49,12 +49,12 @@ static int prod_options_fetch_values(const char *key, REGVAL_CTR *regvals)
value_ascii = "WinNT";
break;
}
-
- value_length = push_ucs2( value, value, value_ascii, sizeof(value),
- STR_TERMINATE|STR_NOALIGN );
- regval_ctr_addvalue( regvals, "ProductType", REG_SZ, value,
- value_length );
-
+
+ value_length = push_ucs2(value, value, value_ascii, sizeof(value),
+ STR_TERMINATE|STR_NOALIGN );
+ regval_ctr_addvalue(regvals, "ProductType", REG_SZ, value,
+ value_length);
+
return regval_ctr_numvals( regvals );
}