Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24964
b: refs/heads/master
c: 04fdabe
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed Feb 10, 2006
1 parent 50d3080 commit 1b3dd0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12b3b8ffb5fd591df41f658d6068b76f7a58e710
refs/heads/master: 04fdabe17c4840a4cd84c3589f20f5d4689b1ec5
3 changes: 2 additions & 1 deletion trunk/fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,11 @@ small_smb_init_no_tcon(int smb_command, int wct, struct cifsSesInfo *ses,
if(rc)
return rc;

buffer = (struct smb_hdr *)*request_buf;
buffer->Mid = GetNextMid(ses->server);
if (ses->capabilities & CAP_UNICODE)
buffer->Flags2 |= SMBFLG2_UNICODE;
if (ses->capabilities & CAP_STATUS32) {
if (ses->capabilities & CAP_STATUS32)
buffer->Flags2 |= SMBFLG2_ERR_STATUS;

/* uid, tid can stay at zero as set in header assemble */
Expand Down

0 comments on commit 1b3dd0c

Please sign in to comment.