mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Rename libnet_smbconf_create_share() to libnet_conf_create_share().
Michael
This commit is contained in:
parent
3258758e5c
commit
6bc4ee2108
@ -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();
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user