mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Fix registering Registry backends in reghook_cache_add().
This was broken in 331c0d6216
(pstring removal).
Michael
This commit is contained in:
parent
daf37c9545
commit
7d1e986f3a
@ -56,7 +56,7 @@ bool reghook_cache_add( REGISTRY_HOOK *hook )
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
key = talloc_asprintf(ctx, "//%s", hook->keyname);
|
key = talloc_asprintf(ctx, "\\%s", hook->keyname);
|
||||||
if (!key) {
|
if (!key) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user