1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Choose a more apropriate parameter name.

Michael
(This used to be commit 39a73b6291)
This commit is contained in:
Michael Adam 2008-01-03 00:43:29 +01:00
parent 83d74c10a2
commit 102fda5c29

View File

@ -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;