diff options
author | Michael Adam <obnox@samba.org> | 2008-01-03 00:51:36 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-03 01:29:43 +0100 |
commit | a6fb71e55b583119c28e74e8aa54dd1b5a0fc3af (patch) | |
tree | b7d7a8cb8a7c7b1826e197aab858d6ea5826a87d /source3/libnet | |
parent | c995a633715fa225637211b88650d9436702778b (diff) | |
download | samba-a6fb71e55b583119c28e74e8aa54dd1b5a0fc3af.tar.gz samba-a6fb71e55b583119c28e74e8aa54dd1b5a0fc3af.tar.bz2 samba-a6fb71e55b583119c28e74e8aa54dd1b5a0fc3af.zip |
Use a better parameter name.
Michael
(This used to be commit 3972deb90c4b645fb4d207a7e132cd7e180e78bb)
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_conf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c index 73949de8a1..144026dbb5 100644 --- a/source3/libnet/libnet_conf.c +++ b/source3/libnet/libnet_conf.c @@ -58,7 +58,7 @@ static WERROR libnet_smbconf_add_string_to_array(TALLOC_CTX *mem_ctx, * Open a subkey of KEY_SMBCONF (i.e a service) */ static WERROR libnet_smbconf_reg_open_service_key(TALLOC_CTX *ctx, - const char *subkeyname, + const char *servicename, uint32 desired_access, struct registry_key **key) { @@ -71,10 +71,10 @@ static WERROR libnet_smbconf_reg_open_service_key(TALLOC_CTX *ctx, goto done; } - if (subkeyname == NULL) { + if (servicename == NULL) { path = talloc_strdup(ctx, KEY_SMBCONF); } else { - path = talloc_asprintf(ctx, "%s\\%s", KEY_SMBCONF, subkeyname); + path = talloc_asprintf(ctx, "%s\\%s", KEY_SMBCONF, servicename); } werr = reg_open_path(ctx, path, desired_access, |