diff options
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_connect.c | 2 | ||||
-rw-r--r-- | source3/rpc_client/cli_use.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_client/cli_connect.c b/source3/rpc_client/cli_connect.c index c1ec7baf12..81630c5125 100644 --- a/source3/rpc_client/cli_connect.c +++ b/source3/rpc_client/cli_connect.c @@ -150,7 +150,7 @@ void cli_connection_free(struct cli_connection *con) BOOL closed; cli_nt_session_close(con->cli, con->fnum); - cli_net_use_del(con->srv_name, con->usr_creds, False, NULL, &closed); + cli_net_use_del(con->srv_name, &con->usr_creds, False, &closed); con->cli = NULL; diff --git a/source3/rpc_client/cli_use.c b/source3/rpc_client/cli_use.c index d9c40139bc..a032db56aa 100644 --- a/source3/rpc_client/cli_use.c +++ b/source3/rpc_client/cli_use.c @@ -85,7 +85,7 @@ static struct cli_use* add_cli_to_array(uint32 *len, /**************************************************************************** initiate client array ****************************************************************************/ -void init_client_use(void) +void init_cli_use(void) { clis = NULL; num_clis = 0; @@ -97,7 +97,7 @@ terminate client array void free_cli_use(void) { free_cli_array(num_clis, clis); - init_client_use(); + init_cli_use(); } /**************************************************************************** |