mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
s3:libsmb: don't set cli->protocol in cli_state_create()
This is done in cli_negprot_done(), when we know the protocol. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 11:57:18 CEST 2011 on sn-devel-104
This commit is contained in:
@ -194,7 +194,6 @@ struct cli_state *cli_state_create(TALLOC_CTX *mem_ctx,
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
cli->raw_status = NT_STATUS_INTERNAL_ERROR;
|
cli->raw_status = NT_STATUS_INTERNAL_ERROR;
|
||||||
cli->protocol = PROTOCOL_NT1;
|
|
||||||
cli->timeout = 20000; /* Timeout is in milliseconds. */
|
cli->timeout = 20000; /* Timeout is in milliseconds. */
|
||||||
cli->max_xmit = CLI_BUFFER_SIZE+4;
|
cli->max_xmit = CLI_BUFFER_SIZE+4;
|
||||||
cli->case_sensitive = false;
|
cli->case_sensitive = false;
|
||||||
|
Reference in New Issue
Block a user