summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-13 14:37:29 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-15 11:57:17 +0200
commit17c6e0abae3e4011b526b50691c8f37ccde582d9 (patch)
tree72dcecb6ad881036ab19494038c2696ab9462ef6
parent3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82 (diff)
downloadsamba-17c6e0abae3e4011b526b50691c8f37ccde582d9.tar.gz
samba-17c6e0abae3e4011b526b50691c8f37ccde582d9.tar.bz2
samba-17c6e0abae3e4011b526b50691c8f37ccde582d9.zip
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
-rw-r--r--source3/libsmb/clientgen.c1
1 files changed, 0 insertions, 1 deletions
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;