summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-31 01:14:44 +0100
committerMichael Adam <obnox@samba.org>2007-12-31 01:14:44 +0100
commite8a680cdf391255fcbdacd1dcebc0f5a947408f1 (patch)
treefdebdf3a38ca52c0b41c07c5154069a392e01efe /source3/utils
parenta74de0c7eb575e5b983773a1b8daa724c7074e7e (diff)
downloadsamba-e8a680cdf391255fcbdacd1dcebc0f5a947408f1.tar.gz
samba-e8a680cdf391255fcbdacd1dcebc0f5a947408f1.tar.bz2
samba-e8a680cdf391255fcbdacd1dcebc0f5a947408f1.zip
Rename libnet_smbconf_key_exists() to libnet_smbconf_share_exists()
and move it to the api section of libnet_conf.c Michael (This used to be commit 9b5d8f4d95ebfd47831906019e11227aecc83aa1)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 98e6b60034..24257fe7cf 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,
if (opt_testmode) {
d_printf("[%s]\n", servicename);
} else {
- if (libnet_smbconf_key_exists(servicename)) {
+ if (libnet_smbconf_share_exists(servicename)) {
werr = libnet_smbconf_delshare(servicename);
if (!W_ERROR_IS_OK(werr)) {
goto done;