git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba16994
)
s3:smb: change the value of TID_FIELD_INVALID from -1 to 0
author
Michael Adam
<obnox@samba.org>
Wed, 6 Jun 2012 13:23:55 +0000
(15:23 +0200)
committer
Michael Adam
<obnox@samba.org>
Wed, 6 Jun 2012 17:37:14 +0000
(19:37 +0200)
This paves the way to change the tid/cnum types to systematic uint32_t.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
source3/include/smb.h
patch
|
blob
|
history
diff --git
a/source3/include/smb.h
b/source3/include/smb.h
index 5887ca95e319f5cfc0966ed8e5343d8bb61dbc6c..fdaf8c5de38297fb7e86fd0a7c631b32b4c5b365 100644
(file)
--- a/
source3/include/smb.h
+++ b/
source3/include/smb.h
@@
-672,7
+672,7
@@
enum acl_compatibility {ACL_COMPAT_AUTO, ACL_COMPAT_WINNT, ACL_COMPAT_WIN2K};
#define UID_FIELD_INVALID 0
#define VUID_OFFSET 100 /* Amount to bias returned vuid numbers */
-#define TID_FIELD_INVALID
-1
+#define TID_FIELD_INVALID
0
#define CNUM_OFFSET 1 /* shift for bitmap index */
/*