diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-29 23:57:41 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-29 23:57:41 +0000 |
commit | a43bdadce998bc5465c55b6cf1d5579cb56f1956 (patch) | |
tree | 70890530de077e906d3fe44f8a8e8bc80db74112 /source3 | |
parent | 8d0660607f2c2d95e1319e04d0d573d9115c4dc0 (diff) | |
download | samba-a43bdadce998bc5465c55b6cf1d5579cb56f1956.tar.gz samba-a43bdadce998bc5465c55b6cf1d5579cb56f1956.tar.bz2 samba-a43bdadce998bc5465c55b6cf1d5579cb56f1956.zip |
bug-fix
(This used to be commit 1abdf9a45ff2e1d903a08891fbec0794349a9546)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/rpc_client/cli_connect.c | 2 | ||||
-rw-r--r-- | source3/rpc_client/cli_use.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 4c547be3de..2dc9a7279b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2163,7 +2163,7 @@ BOOL svc_change_svc_cfg( POLICY_HND *hnd, /*The following definitions come from rpc_client/cli_use.c */ -void init_client_use(void); +void init_cli_use(void); void free_cli_use(void); struct cli_state *cli_net_use_addlist(char* servers, const struct user_credentials *usr_creds); 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(); } /**************************************************************************** |