summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_use.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-07-15 08:37:17 +0000
committerGerald Carter <jerry@samba.org>2000-07-15 08:37:17 +0000
commit333c23c74acf0495fca6d4f4bdfc944ce320398e (patch)
treea14945f657f738935b4efd97edba907109896112 /source3/rpc_client/cli_use.c
parent2755ad8814f07906cddd303bed6a5a1971a2c3ff (diff)
downloadsamba-333c23c74acf0495fca6d4f4bdfc944ce320398e.tar.gz
samba-333c23c74acf0495fca6d4f4bdfc944ce320398e.tar.bz2
samba-333c23c74acf0495fca6d4f4bdfc944ce320398e.zip
Lots of changes but no real progress in functionality.
more changes to remove the ncarpc_l_* stuff. Fixed some cut and paste errors from TNG There are very subtle bugs in this code. I'll work on simplifying them in round two or three. --jerry (This used to be commit f8509356178deb7e78836d1f5aceb96677ac738b)
Diffstat (limited to 'source3/rpc_client/cli_use.c')
-rw-r--r--source3/rpc_client/cli_use.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_use.c b/source3/rpc_client/cli_use.c
index 43f8ec8717..7cc4477b57 100644
--- a/source3/rpc_client/cli_use.c
+++ b/source3/rpc_client/cli_use.c
@@ -48,6 +48,7 @@ static void cli_use_free(struct cli_use *cli)
{
if (cli->cli->initialised)
{
+ /* only logoff if we have a valid socket */
if (cli->cli->fd != -1)
cli_ulogoff(cli->cli);
cli_shutdown(cli->cli);