summaryrefslogtreecommitdiff
path: root/source3/registry/reg_cachehook.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-18 17:51:57 +0100
committerMichael Adam <obnox@samba.org>2008-01-20 02:03:38 +0100
commit1b2dd2dcc8a78c3b6d4ba9fe229dd6f286947b32 (patch)
treeb6cd9d99e4756884f48929636c33a369ced93096 /source3/registry/reg_cachehook.c
parent563c4ef74082b0d06d0511fef700980d92f04d08 (diff)
downloadsamba-1b2dd2dcc8a78c3b6d4ba9fe229dd6f286947b32.tar.gz
samba-1b2dd2dcc8a78c3b6d4ba9fe229dd6f286947b32.tar.bz2
samba-1b2dd2dcc8a78c3b6d4ba9fe229dd6f286947b32.zip
Fix registering Registry backends in reghook_cache_add().
This was broken in 331c0d6216e1a1607a49ed7eb4078e10138ec16a (pstring removal). Michael (This used to be commit 7d1e986f3a5ab316a8501ddaca1ba1f0867b4531)
Diffstat (limited to 'source3/registry/reg_cachehook.c')
-rw-r--r--source3/registry/reg_cachehook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_cachehook.c b/source3/registry/reg_cachehook.c
index 74670aac30..22352c6112 100644
--- a/source3/registry/reg_cachehook.c
+++ b/source3/registry/reg_cachehook.c
@@ -56,7 +56,7 @@ bool reghook_cache_add( REGISTRY_HOOK *hook )
return false;
}
- key = talloc_asprintf(ctx, "//%s", hook->keyname);
+ key = talloc_asprintf(ctx, "\\%s", hook->keyname);
if (!key) {
return false;
}