summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-11 10:51:20 +0100
committerGünther Deschner <gd@samba.org>2008-03-11 10:52:32 +0100
commit2b4378d0c5bbaba17b05f50d75d8ffffb103c602 (patch)
treea9c5cb3b6d894d538cf9551b9a5738d41f12fb8c /source3
parentb960bc265b51c6e3627895bfd1375da9c6579252 (diff)
downloadsamba-2b4378d0c5bbaba17b05f50d75d8ffffb103c602.tar.gz
samba-2b4378d0c5bbaba17b05f50d75d8ffffb103c602.tar.bz2
samba-2b4378d0c5bbaba17b05f50d75d8ffffb103c602.zip
Fix return of reg values below HKLM/SOFTWARE/MICROSOFT/WINDOWSNT/CURRENTVERSION.
Michael, please check. Guenther (This used to be commit 29ccc0e233bae160f7a6e1b0ff6b6cdda4d0f4ee)
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_current_version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_current_version.c b/source3/registry/reg_backend_current_version.c
index a9d281c522..04cc0ebfa7 100644
--- a/source3/registry/reg_backend_current_version.c
+++ b/source3/registry/reg_backend_current_version.c
@@ -52,7 +52,7 @@ static int current_version_fetch_values(const char *key, REGVAL_CTR *values)
}
if (strncmp(path, KEY_CURRENT_VERSION_NORM, strlen(path)) != 0) {
- return 0;
+ return regdb_ops.fetch_values(key, values);
}
value_length = push_ucs2(value, value, sysroot_string, sizeof(value),