git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88a9516
)
smbd: Use #defines in smb2_getinfo_send
author
Volker Lendecke
<vl@samba.org>
Mon, 26 Aug 2013 08:36:14 +0000
(08:36 +0000)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 18 Sep 2013 08:41:21 +0000
(10:41 +0200)
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
)
(cherry picked from commit
5efd0ca590670a142631db1c2133450a1020ba60
)
source3/smbd/smb2_getinfo.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_getinfo.c
b/source3/smbd/smb2_getinfo.c
index 2a74f3056a1d71dab6e0dcf354fbd5cd2795b76d..36b5140396c71c88b1ac9c76b93a47b5659a18ae 100644
(file)
--- 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;