summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-13 14:38:38 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-15 12:12:22 +0200
commit74a581afe55d54090d46aa60b6377b930f11a76f (patch)
tree2e2d82e19aa65ec543b55517aa50feed0f55af2d /source3/include
parent17c6e0abae3e4011b526b50691c8f37ccde582d9 (diff)
downloadsamba-74a581afe55d54090d46aa60b6377b930f11a76f.tar.gz
samba-74a581afe55d54090d46aa60b6377b930f11a76f.tar.bz2
samba-74a581afe55d54090d46aa60b6377b930f11a76f.zip
s3:libsmb: move cli->protocol to cli->conn.protocol
metze
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 8a26e73c15..21ad457cb5 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -42,7 +42,6 @@ struct cli_state {
* A list of subsidiary connections for DFS.
*/
struct cli_state *prev, *next;
- enum protocol_types protocol;
int sec_mode;
int rap_error;
NTSTATUS raw_status; /* maybe via NT_STATUS_DOS() */
@@ -126,6 +125,8 @@ struct cli_state {
NTSTATUS (*dispatch_incoming)(struct cli_state *cli,
TALLOC_CTX *frame,
uint8_t *inbuf);
+
+ enum protocol_types protocol;
} conn;
struct {