cli_negprot_send -> cli_negprot_sendsync
authorVolker Lendecke <vl@samba.org>
Thu, 11 Sep 2008 05:31:34 +0000 (07:31 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Dec 2008 09:28:20 +0000 (10:28 +0100)
source3/include/proto.h
source3/libsmb/cliconnect.c
source3/torture/torture.c

index 5e2b823d64c070a93b601ba399a4bc84a43e1697..536855c66ee086c1af3971d89efa7288b027ae97 100644 (file)
@@ -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);
index 125345fccbb77fb5912e0ab8af41450c5ad56102..f7950823a7151cc9fa1e156205ec5fa9eccd9af3 100644 (file)
@@ -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;
index 382b3b65ebc4aeaf372ce72b8f7460f6c0571816..601cfb94382d008a4cf65a4a6928de4ce76ab711 100644 (file)
@@ -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)) {