diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-21 23:36:09 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-21 23:36:09 +0100 |
commit | 61761cbac8f609c9ee7c6d391739c50bd4844340 (patch) | |
tree | 84e0dcc544036a4996a62613fdd1cbdf75a56e09 | |
parent | 7b54964a253b031ba0351fecbfc271a68b76c25b (diff) | |
download | samba-61761cbac8f609c9ee7c6d391739c50bd4844340.tar.gz samba-61761cbac8f609c9ee7c6d391739c50bd4844340.tar.bz2 samba-61761cbac8f609c9ee7c6d391739c50bd4844340.zip |
s4:registry - "LDB backend" - "reg_ldb_unpack_value"
When the name isn't found it is the default value. Call it "" to be consistent.
-rw-r--r-- | source4/lib/registry/ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |