summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 13:55:43 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 14:17:49 +0100
commit3f3a29ed509916751e8ead326dba3e2221cab199 (patch)
treebd339a98a67e7aded22f75ec3f8949a43453c37e
parent630de5f555b7fb897e1bb700b2a0a3d8d611e9bd (diff)
downloadsamba-3f3a29ed509916751e8ead326dba3e2221cab199.tar.gz
samba-3f3a29ed509916751e8ead326dba3e2221cab199.tar.bz2
samba-3f3a29ed509916751e8ead326dba3e2221cab199.zip
Rename libnet_smbconf_create_share() to libnet_conf_create_share().
Michael (This used to be commit 6bc4ee210855dbfbee9e86b59e90b08ecb3a9df9)
-rw-r--r--source3/libnet/libnet_conf.c2
-rw-r--r--source3/utils/net_conf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index cf11a42329..be45e30d50 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -612,7 +612,7 @@ bool libnet_conf_share_exists(const char *servicename)
/**
* Add a service if it does not already exist.
*/
-WERROR libnet_smbconf_create_share(const char *servicename)
+WERROR libnet_conf_create_share(const char *servicename)
{
WERROR werr;
TALLOC_CTX *mem_ctx = talloc_stackframe();
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index be1447f182..c080da2d91 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -631,7 +631,7 @@ static int net_conf_addshare(int argc, const char **argv)
* create the share
*/
- werr = libnet_smbconf_create_share(sharename);
+ werr = libnet_conf_create_share(sharename);
if (!W_ERROR_IS_OK(werr)) {
d_fprintf(stderr, "Error creating share %s: %s\n",
sharename, dos_errstr(werr));