summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-20 01:09:52 +0100
committerMichael Adam <obnox@samba.org>2008-01-20 02:03:41 +0100
commit25c21fb562c6bb9c61a9e2e58d585619f18d3c84 (patch)
tree7534a672494e4d0341dbc40ccca6b45aa7324883
parent8eed06fb8cc6db37d15ddc0f64744a536588ba29 (diff)
downloadsamba-25c21fb562c6bb9c61a9e2e58d585619f18d3c84.tar.gz
samba-25c21fb562c6bb9c61a9e2e58d585619f18d3c84.tar.bz2
samba-25c21fb562c6bb9c61a9e2e58d585619f18d3c84.zip
Use some consts instead of literal strings for registry keys.
Michael (This used to be commit 80024f4e1c6594c3038e86a765f763d24fd96b59)
-rw-r--r--source3/registry/reg_db.c8
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 {