diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-13 15:07:29 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-15 12:12:23 +0200 |
commit | b02d27ae056b08372861de4980fca1e03cb8d091 (patch) | |
tree | b9ead50dd516c810b6f7ae592dae59ea9ea55ac2 /source3/libsmb/clientgen.c | |
parent | 595f0020d4bc6c43adf4e73021e5fffab3354bfd (diff) | |
download | samba-b02d27ae056b08372861de4980fca1e03cb8d091.tar.gz samba-b02d27ae056b08372861de4980fca1e03cb8d091.tar.xz samba-b02d27ae056b08372861de4980fca1e03cb8d091.zip |
s3:libsmb: move cli->smb1.mid to cli->conn.smb1.mid
metze
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r-- | source3/libsmb/clientgen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 78211583d6..720a118559 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -304,6 +304,8 @@ struct cli_state *cli_state_create(TALLOC_CTX *mem_ctx, cli->conn.smb1.capabilities = cli->conn.smb1.client.capabilities; + cli->conn.smb1.mid = 1; + cli->conn.outgoing = tevent_queue_create(cli, "cli_outgoing"); if (cli->conn.outgoing == NULL) { goto error; @@ -339,7 +341,6 @@ struct cli_state *cli_state_create(TALLOC_CTX *mem_ctx, goto error; } - cli->smb1.mid = 1; cli->smb1.pid = (uint16_t)sys_getpid(); cli->smb1.vc_num = cli->smb1.pid; cli->smb1.tid = UINT16_MAX; |