diff options
author | Volker Lendecke <vlendec@samba.org> | 2002-09-11 15:18:53 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2002-09-11 15:18:53 +0000 |
commit | f0c741594f0dad2da16b1d5692dd56a48b4157f1 (patch) | |
tree | cc46945d10958e5d0aa2b242d8867041aed6cac7 /source/rpc_server | |
parent | 05a202c287f5daeb1ccbaf9479aa93e7928e93db (diff) | |
download | samba-f0c741594f0dad2da16b1d5692dd56a48b4157f1.tar.gz samba-f0c741594f0dad2da16b1d5692dd56a48b4157f1.tar.xz samba-f0c741594f0dad2da16b1d5692dd56a48b4157f1.zip |
Merge the cli_shutdown change from 2_2. All except one call to
attempt_netbios_... assumed that cli_shutdown was _not_ called on
error anyway...
Volker
Diffstat (limited to 'source/rpc_server')
-rw-r--r-- | source/rpc_server/srv_spoolss_nt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/rpc_server/srv_spoolss_nt.c b/source/rpc_server/srv_spoolss_nt.c index 8b5dcd3b6cf..5231e9e681c 100644 --- a/source/rpc_server/srv_spoolss_nt.c +++ b/source/rpc_server/srv_spoolss_nt.c @@ -2296,6 +2296,7 @@ static BOOL spoolss_connect_to_client(struct cli_state *the_cli, char *remote_ma if (!attempt_netbios_session_request(the_cli, global_myname, remote_machine, &the_cli->dest_ip)) { DEBUG(0,("connect_to_client: machine %s rejected the NetBIOS session request.\n", remote_machine)); + cli_shutdown(the_cli); return False; } |