summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-06 19:39:45 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-06 19:59:10 +0100
commit6870313db5600c2dd68c51e757f233dad56aa250 (patch)
tree24acdaaccb1a2d4940defc7c804ae05d4e240445
parented678a2234dda656d0a2d5bbf65b22afa7a47144 (diff)
downloadsamba-6870313db5600c2dd68c51e757f233dad56aa250.tar.gz
samba-6870313db5600c2dd68c51e757f233dad56aa250.tar.bz2
samba-6870313db5600c2dd68c51e757f233dad56aa250.zip
s4:lib/registry/ldb.c - fix trailing whitespaces
-rw-r--r--source4/lib/registry/ldb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c
index d8a786cf8a..12722c912b 100644
--- a/source4/lib/registry/ldb.c
+++ b/source4/lib/registry/ldb.c
@@ -37,7 +37,7 @@ struct ldb_key_data
unsigned int subkey_count, value_count;
};
-static void reg_ldb_unpack_value(TALLOC_CTX *mem_ctx,
+static void reg_ldb_unpack_value(TALLOC_CTX *mem_ctx,
struct ldb_message *msg,
const char **name, uint32_t *type,
DATA_BLOB *data)
@@ -52,7 +52,7 @@ static void reg_ldb_unpack_value(TALLOC_CTX *mem_ctx,
}
value_type = ldb_msg_find_attr_as_uint(msg, "type", 0);
- *type = value_type;
+ *type = value_type;
val = ldb_msg_find_ldb_val(msg, "data");
@@ -278,7 +278,7 @@ static WERROR ldb_get_subkey_by_id(TALLOC_CTX *mem_ctx,
{
struct ldb_message_element *el;
struct ldb_key_data *kd = talloc_get_type(k, struct ldb_key_data);
-
+
/* Initialization */
if (name != NULL)
*name = NULL;
@@ -327,7 +327,7 @@ static WERROR ldb_get_default_value(TALLOC_CTX *mem_ctx, struct hive_key *k,
if (res->count == 0 || res->msgs[0]->num_elements == 0)
return WERR_BADFILE;
- reg_ldb_unpack_value(mem_ctx,
+ reg_ldb_unpack_value(mem_ctx,
res->msgs[0], name, data_type, data);
talloc_free(res);
@@ -831,8 +831,8 @@ static WERROR ldb_get_key_info(TALLOC_CTX *mem_ctx,
if (max_valbufsize != NULL) {
uint32_t data_type;
DATA_BLOB data;
- reg_ldb_unpack_value(mem_ctx,
- kd->values[i], NULL,
+ reg_ldb_unpack_value(mem_ctx,
+ kd->values[i], NULL,
&data_type, &data);
*max_valbufsize = MAX(*max_valbufsize, data.length);
talloc_free(data.data);