1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r7482: Rename smbcli_send_tconX() to smbcli_tconX() so as not to get it

confused with an async function.
This commit is contained in:
Tim Potter 2005-06-11 03:35:28 +00:00 committed by Gerald (Jerry) Carter
parent 633b24345f
commit 340ad67cad
3 changed files with 5 additions and 6 deletions

View File

@ -228,8 +228,7 @@ static struct smbcli_state *do_connection(char *the_service)
DEBUG(4,("%d: session setup ok\n", sys_getpid()));
if (!smbcli_send_tconX(c, share, "?????",
password, strlen(password)+1)) {
if (!smbcli_tconX(c, share, "?????", password, strlen(password)+1)) {
DEBUG(0,("%d: tree connect failed: %s\n",
sys_getpid(), smbcli_errstr(c)));
smbcli_shutdown(c);

View File

@ -84,8 +84,8 @@ NTSTATUS smbcli_session_setup(struct smbcli_state *cli,
}
/* wrapper around smb_tree_connect() */
NTSTATUS smbcli_send_tconX(struct smbcli_state *cli, const char *sharename,
const char *devtype, const char *password)
NTSTATUS smbcli_tconX(struct smbcli_state *cli, const char *sharename,
const char *devtype, const char *password)
{
union smb_tcon tcon;
TALLOC_CTX *mem_ctx;

View File

@ -486,7 +486,7 @@ static BOOL run_tcon_test(void)
}
tree1 = cli->tree; /* save old tree connection */
if (NT_STATUS_IS_ERR(smbcli_send_tconX(cli, share, "?????", password))) {
if (NT_STATUS_IS_ERR(smbcli_tconX(cli, share, "?????", password))) {
printf("%s refused 2nd tree connect (%s)\n", host,
smbcli_errstr(cli->tree));
smbcli_shutdown(cli);
@ -564,7 +564,7 @@ static BOOL tcon_devtest(struct smbcli_state *cli,
BOOL ret;
const char *password = lp_parm_string(-1, "torture", "password");
status = NT_STATUS_IS_OK(smbcli_send_tconX(cli, myshare, devtype,
status = NT_STATUS_IS_OK(smbcli_tconX(cli, myshare, devtype,
password));
printf("Trying share %s with devtype %s\n", myshare, devtype);