summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-10 19:48:23 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-10 19:58:08 +0200
commit458a441f7ff36e03fb59299b44986f10e062ee78 (patch)
tree4e7cc29b458f392287a3198fb64eb604bfc93924 /source4/lib
parentc7c8f0ccf370176479480772d88ccb794b6728a2 (diff)
downloadsamba-458a441f7ff36e03fb59299b44986f10e062ee78.tar.gz
samba-458a441f7ff36e03fb59299b44986f10e062ee78.tar.bz2
samba-458a441f7ff36e03fb59299b44986f10e062ee78.zip
s4:registry - "patchfile_preg.c" - fix indentation
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/registry/patchfile_preg.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/source4/lib/registry/patchfile_preg.c b/source4/lib/registry/patchfile_preg.c
index e65d52e0c0..ed521e3dfa 100644
--- a/source4/lib/registry/patchfile_preg.c
+++ b/source4/lib/registry/patchfile_preg.c
@@ -89,16 +89,19 @@ static WERROR reg_preg_diff_del_key(void *_data, const char *key_name)
DATA_BLOB blob;
WERROR werr;
- parent_name = talloc_strndup(data->ctx, key_name, strrchr(key_name, '\\')-key_name);
+ parent_name = talloc_strndup(data->ctx, key_name,
+ strrchr(key_name, '\\')-key_name);
W_ERROR_HAVE_NO_MEMORY(parent_name);
- blob.data = (uint8_t *)talloc_strndup(data->ctx, key_name+(strrchr(key_name, '\\')-key_name)+1,
- strlen(key_name)-(strrchr(key_name, '\\')-key_name));
+ blob.data = (uint8_t*)talloc_strndup(data->ctx,
+ key_name+(strrchr(key_name, '\\')-key_name)+1,
+ strlen(key_name)-(strrchr(key_name, '\\')-key_name));
W_ERROR_HAVE_NO_MEMORY(blob.data);
blob.length = strlen((char *)blob.data)+1;
/* FIXME: These values should be accumulated to be written at done(). */
- werr = reg_preg_diff_set_value(data, parent_name, "**DeleteKeys", REG_SZ, blob);
+ werr = reg_preg_diff_set_value(data, parent_name, "**DeleteKeys",
+ REG_SZ, blob);
talloc_free(parent_name);
talloc_free(blob.data);
@@ -140,7 +143,8 @@ static WERROR reg_preg_diff_del_all_values(void *_data, const char *key_name)
SIVAL(blob.data, 0, 0);
blob.length = sizeof(uint32_t);
- werr = reg_preg_diff_set_value(data, key_name, "**DelVals.", REG_DWORD, blob);
+ werr = reg_preg_diff_set_value(data, key_name, "**DelVals.", REG_DWORD,
+ blob);
talloc_free(blob.data);