1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Rename libnet_smbconf_delshare() to libnet_conf_delete_share().

Michael
This commit is contained in:
Michael Adam 2008-01-03 14:01:50 +01:00
parent 1575612f19
commit 2075baf551
2 changed files with 3 additions and 3 deletions

View File

@ -657,7 +657,7 @@ done:
/**
* delete a service from configuration
*/
WERROR libnet_smbconf_delshare(const char *servicename)
WERROR libnet_conf_delete_share(const char *servicename)
{
WERROR werr = WERR_OK;
struct registry_key *key = NULL;

View File

@ -208,7 +208,7 @@ static int import_process_service(TALLOC_CTX *ctx,
d_printf("[%s]\n", servicename);
} else {
if (libnet_conf_share_exists(servicename)) {
werr = libnet_smbconf_delshare(servicename);
werr = libnet_conf_delete_share(servicename);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
@ -691,7 +691,7 @@ static int net_conf_delshare(int argc, const char **argv)
}
sharename = argv[0];
werr = libnet_smbconf_delshare(sharename);
werr = libnet_conf_delete_share(sharename);
if (!W_ERROR_IS_OK(werr)) {
d_fprintf(stderr, "Error deleting share %s: %s\n",
sharename, dos_errstr(werr));