diff options
author | Michael Adam <obnox@samba.org> | 2008-01-03 14:01:50 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-03 14:17:49 +0100 |
commit | e89411effda51f9012d1830d18adcb968637baac (patch) | |
tree | c6d0a0e4fd97d9181acfdacd01d793781976ca91 | |
parent | e1aa474a32a8b6faa952ad4e9e2e91b8727ad56e (diff) | |
download | samba-e89411effda51f9012d1830d18adcb968637baac.tar.gz samba-e89411effda51f9012d1830d18adcb968637baac.tar.bz2 samba-e89411effda51f9012d1830d18adcb968637baac.zip |
Rename libnet_smbconf_delshare() to libnet_conf_delete_share().
Michael
(This used to be commit 2075baf551ca7fc6bcee6b93f63fd7fbf75f9a50)
-rw-r--r-- | source3/libnet/libnet_conf.c | 2 | ||||
-rw-r--r-- | source3/utils/net_conf.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c index 594dea9603..0f11bbbc49 100644 --- a/source3/libnet/libnet_conf.c +++ b/source3/libnet/libnet_conf.c @@ -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; diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index 7859e0e615..340cb37541 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -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)); |