diff options
author | Michael Adam <obnox@samba.org> | 2008-01-03 13:54:31 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-03 14:17:49 +0100 |
commit | 630de5f555b7fb897e1bb700b2a0a3d8d611e9bd (patch) | |
tree | 34d8b48af25c44cdf8b31dfda47d18443a16b0ed /source3/utils | |
parent | daf1a460c821f247c43c22f1e26785d3acdb3ac3 (diff) | |
download | samba-630de5f555b7fb897e1bb700b2a0a3d8d611e9bd.tar.gz samba-630de5f555b7fb897e1bb700b2a0a3d8d611e9bd.tar.bz2 samba-630de5f555b7fb897e1bb700b2a0a3d8d611e9bd.zip |
Rename libnet_smbconf_share_exists() to libnet_conf_share_exists().
Michael
(This used to be commit 3258758e5c8dfc2c681e1285cb34aaacae697a55)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index 930d7b3508..be1447f182 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -207,7 +207,7 @@ static int import_process_service(TALLOC_CTX *ctx, if (opt_testmode) { d_printf("[%s]\n", servicename); } else { - if (libnet_smbconf_share_exists(servicename)) { + if (libnet_conf_share_exists(servicename)) { werr = libnet_smbconf_delshare(servicename); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -596,7 +596,7 @@ static int net_conf_addshare(int argc, const char **argv) goto done; } - if (libnet_smbconf_share_exists(sharename)) { + if (libnet_conf_share_exists(sharename)) { d_fprintf(stderr, "ERROR: share %s already exists.\n", sharename); goto done; |