summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 00:43:29 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 01:29:43 +0100
commit102fda5c2954b620bb68f0c6e4acf1e6510fd62a (patch)
tree88693515a532fafacc2f4c7ecb18bf10e83d390e /source3
parent83d74c10a27f2b90682f52fec677bfee67591400 (diff)
downloadsamba-102fda5c2954b620bb68f0c6e4acf1e6510fd62a.tar.gz
samba-102fda5c2954b620bb68f0c6e4acf1e6510fd62a.tar.bz2
samba-102fda5c2954b620bb68f0c6e4acf1e6510fd62a.zip
Choose a more apropriate parameter name.
Michael (This used to be commit 39a73b6291fd028d44fc2712afa76abf1fcff9cb)
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 2de4341e5d..469c72e650 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -565,14 +565,14 @@ done:
/**
* check if a share/service of a given name exists
*/
-bool libnet_smbconf_share_exists(const char *subkeyname)
+bool libnet_smbconf_share_exists(const char *servicename)
{
bool ret = false;
WERROR werr = WERR_OK;
TALLOC_CTX *mem_ctx = talloc_stackframe();
struct registry_key *key = NULL;
- werr = libnet_smbconf_reg_open_path(mem_ctx, subkeyname, REG_KEY_READ,
+ werr = libnet_smbconf_reg_open_path(mem_ctx, servicename, REG_KEY_READ,
&key);
if (W_ERROR_IS_OK(werr)) {
ret = true;