1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

Ensure the output cli can't have spurious values if the connection fails...

(This used to be commit 2d1612dd3560bb5ef35fa1eeee00e3d7976bcd62)
This commit is contained in:
Andrew Bartlett 2001-12-31 13:06:10 +00:00
parent a0681820e6
commit af7bd393da

View File

@ -1205,7 +1205,13 @@ NTSTATUS cli_full_connection(struct cli_state **output_cli,
struct nmb_name called;
struct cli_state *cli;
struct in_addr ip;
if (!output_cli) {
DEBUG(0, ("output_cli is NULL!?!"));
}
*output_cli = NULL;
make_nmb_name(&calling, my_name, 0x0);
make_nmb_name(&called , dest_host, 0x20);