git.samba.org
/
asn
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f77195a
)
s3-libsmb: Use the right macro to set uint16_t attr.
author
Andreas Schneider
<asn@samba.org>
Fri, 15 Nov 2013 16:02:12 +0000
(17:02 +0100)
committer
Jeremy Allison
<jra@samba.org>
Fri, 15 Nov 2013 19:07:23 +0000
(11:07 -0800)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/cli_smb2_fnum.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/cli_smb2_fnum.c
b/source3/libsmb/cli_smb2_fnum.c
index d10e1d274c4ed76653d7f5d406c5059608a5289c..1e2047ef6763e20cd72870ea2b4483838833589a 100644
(file)
--- a/
source3/libsmb/cli_smb2_fnum.c
+++ b/
source3/libsmb/cli_smb2_fnum.c
@@
-1313,7
+1313,7
@@
NTSTATUS cli_smb2_setatr(struct cli_state *cli,
inbuf.length = sizeof(inbuf_store);
data_blob_clear(&inbuf);
- S
IVAL(inbuf.data,32,
attr);
+ S
SVAL(inbuf.data, 32,
attr);
if (mtime != 0) {
put_long_date((char *)inbuf.data + 16,mtime);
}