summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/registry/reg_backend_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 89a6e95a39..278359fa74 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1560,7 +1560,7 @@ static int regdb_unpack_values(struct regval_ctr *values, uint8 *buf, int buflen
/* add the new value. Paranoid protective code -- make sure data_p is valid */
- if (*valuename && size && data_p) {
+ if (size && data_p) {
regval_ctr_addvalue(values, valuename, type,
(const char *)data_p, size);
}