diff options
author | Michael Adam <obnox@samba.org> | 2008-01-20 01:09:52 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-20 02:03:41 +0100 |
commit | 25c21fb562c6bb9c61a9e2e58d585619f18d3c84 (patch) | |
tree | 7534a672494e4d0341dbc40ccca6b45aa7324883 /source3/registry | |
parent | 8eed06fb8cc6db37d15ddc0f64744a536588ba29 (diff) | |
download | samba-25c21fb562c6bb9c61a9e2e58d585619f18d3c84.tar.gz samba-25c21fb562c6bb9c61a9e2e58d585619f18d3c84.tar.xz samba-25c21fb562c6bb9c61a9e2e58d585619f18d3c84.zip |
Use some consts instead of literal strings for registry keys.
Michael
(This used to be commit 80024f4e1c6594c3038e86a765f763d24fd96b59)
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_db.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/registry/reg_db.c b/source3/registry/reg_db.c index ce88c56c61..fad6c8acd1 100644 --- a/source3/registry/reg_db.c +++ b/source3/registry/reg_db.c @@ -51,10 +51,10 @@ static const char *builtin_registry_paths[] = { "HKLM\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\DefaultUserConfiguration", KEY_TCPIP_PARAMS, KEY_NETLOGON_PARAMS, - "HKU", - "HKCR", - "HKPD", - "HKPT", + KEY_HKU, + KEY_HKCR, + KEY_HKPD, + KEY_HKPT, NULL }; struct builtin_regkey_value { |