diff options
author | Volker Lendecke <vl@samba.org> | 2013-08-26 08:36:14 +0000 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2013-09-06 10:49:49 +0200 |
commit | 5efd0ca590670a142631db1c2133450a1020ba60 (patch) | |
tree | 0ab0bca637bcd5a063527856e64a1e3932fa131f | |
parent | 65d4f0b5125ebea659d0277916bb74db2c3b9cc0 (diff) | |
download | samba-5efd0ca590670a142631db1c2133450a1020ba60.tar.gz |
smbd: Use #defines in smb2_getinfo_send
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Tue Aug 27 15:08:08 CEST 2013 on sn-devel-104
(cherry picked from commit 323cccd35d06c7327c19dc5cb891043507624d7d)
-rw-r--r-- | source3/smbd/smb2_getinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c index 2a74f3056a1..36b5140396c 100644 --- a/source3/smbd/smb2_getinfo.c +++ b/source3/smbd/smb2_getinfo.c @@ -273,7 +273,7 @@ static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx, } switch (in_info_type) { - case 0x01:/* SMB2_GETINFO_FILE */ + case SMB2_GETINFO_FILE: { uint16_t file_info_level; char *data = NULL; @@ -394,7 +394,7 @@ static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx, break; } - case 0x02:/* SMB2_GETINFO_FS */ + case SMB2_GETINFO_FS: { uint16_t file_info_level; char *data = NULL; @@ -434,7 +434,7 @@ static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx, break; } - case 0x03:/* SMB2_GETINFO_SEC */ + case SMB2_GETINFO_SECURITY: { uint8_t *p_marshalled_sd = NULL; size_t sd_size = 0; |