mirror of
https://github.com/samba-team/samba.git
synced 2025-02-09 09:57:48 +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:
parent
3f00cce9b3
commit
17c6e0abae
@ -194,7 +194,6 @@ struct cli_state *cli_state_create(TALLOC_CTX *mem_ctx,
|
||||
goto error;
|
||||
}
|
||||
cli->raw_status = NT_STATUS_INTERNAL_ERROR;
|
||||
cli->protocol = PROTOCOL_NT1;
|
||||
cli->timeout = 20000; /* Timeout is in milliseconds. */
|
||||
cli->max_xmit = CLI_BUFFER_SIZE+4;
|
||||
cli->case_sensitive = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user