summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-09-11 07:31:34 +0200
committerVolker Lendecke <vl@samba.org>2008-12-19 10:28:20 +0100
commit96a3d7be3151c93db9857bb065721c0c7961b2e8 (patch)
tree9a7fc188772768e05000b0b1769b6affb261c1b3 /source3
parentcbddddb6cdebcb2edfeb39db2fbea0bfeaee5d88 (diff)
downloadsamba-96a3d7be3151c93db9857bb065721c0c7961b2e8.tar.gz
samba-96a3d7be3151c93db9857bb065721c0c7961b2e8.tar.bz2
samba-96a3d7be3151c93db9857bb065721c0c7961b2e8.zip
cli_negprot_send -> cli_negprot_sendsync
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/libsmb/cliconnect.c2
-rw-r--r--source3/torture/torture.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5e2b823d64..536855c66e 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2364,7 +2364,7 @@ bool cli_ulogoff(struct cli_state *cli);
bool cli_send_tconX(struct cli_state *cli,
const char *share, const char *dev, const char *pass, int passlen);
bool cli_tdis(struct cli_state *cli);
-void cli_negprot_send(struct cli_state *cli);
+void cli_negprot_sendsync(struct cli_state *cli);
bool cli_negprot(struct cli_state *cli);
bool cli_session_request(struct cli_state *cli,
struct nmb_name *calling, struct nmb_name *called);
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 125345fccb..f7950823a7 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1206,7 +1206,7 @@ bool cli_tdis(struct cli_state *cli)
Send a negprot command.
****************************************************************************/
-void cli_negprot_send(struct cli_state *cli)
+void cli_negprot_sendsync(struct cli_state *cli)
{
char *p;
int numprots;
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 382b3b65eb..601cfb9438 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -2346,7 +2346,7 @@ static bool run_negprot_nowait(int dummy)
}
for (i=0;i<50000;i++) {
- cli_negprot_send(cli);
+ cli_negprot_sendsync(cli);
}
if (!torture_close_connection(cli)) {