From 61761cbac8f609c9ee7c6d391739c50bd4844340 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 21 Mar 2010 23:36:09 +0100 Subject: s4:registry - "LDB backend" - "reg_ldb_unpack_value" When the name isn't found it is the default value. Call it "" to be consistent. --- source4/lib/registry/ldb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c index 02bfa46c8c..7ceaa5b6e5 100644 --- a/source4/lib/registry/ldb.c +++ b/source4/lib/registry/ldb.c @@ -48,7 +48,7 @@ static void reg_ldb_unpack_value(TALLOC_CTX *mem_ctx, if (name != NULL) { *name = talloc_strdup(mem_ctx, ldb_msg_find_attr_as_string(msg, "value", - NULL)); + "")); } value_type = ldb_msg_find_attr_as_uint(msg, "type", 0); -- cgit