summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-11-15 17:02:12 +0100
committerKarolin Seeger <kseeger@samba.org>2013-11-26 20:40:24 +0100
commite1826b874bd11e3af5c78c684a91804e6d4e71d5 (patch)
tree6ae4f51f3a6a84c6f97a35d23620fada713b47da /source3/libsmb
parent03f9a7a2b7602e3e731bdd0f3fa9d6ca799b1abb (diff)
downloadsamba-e1826b874bd11e3af5c78c684a91804e6d4e71d5.tar.gz
s3-libsmb: Use the right macro to set uint16_t attr.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit f8ab594d0253920cefc441587a55fddb688be550)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cli_smb2_fnum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cli_smb2_fnum.c b/source3/libsmb/cli_smb2_fnum.c
index d10e1d274c..1e2047ef67 100644
--- 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);
- SIVAL(inbuf.data,32,attr);
+ SSVAL(inbuf.data, 32, attr);
if (mtime != 0) {
put_long_date((char *)inbuf.data + 16,mtime);
}