1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix registering Registry backends in reghook_cache_add().

This was broken in 331c0d6216
(pstring removal).

Michael
This commit is contained in:
Michael Adam 2008-01-18 17:51:57 +01:00
parent daf37c9545
commit 7d1e986f3a

View File

@ -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;
}