From 17c6e0abae3e4011b526b50691c8f37ccde582d9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 13 Sep 2011 14:37:29 +0200 Subject: 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 Autobuild-Date: Thu Sep 15 11:57:18 CEST 2011 on sn-devel-104 --- source3/libsmb/clientgen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 05f95489ad..6d85239194 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -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; -- cgit