summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema_prefixmap.c
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-11-08 16:27:22 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-11-08 23:06:41 +0000
commit0aeb08e2eb1725ef41b6796a55a020520d13c6f7 (patch)
tree52d2f7e495cde477c439eca5aefc004cda567bde /source4/dsdb/schema/schema_prefixmap.c
parentee34e2c94bccb90f6518c401192c5f04ae509d25 (diff)
downloadsamba-0aeb08e2eb1725ef41b6796a55a020520d13c6f7.tar.gz
samba-0aeb08e2eb1725ef41b6796a55a020520d13c6f7.tar.bz2
samba-0aeb08e2eb1725ef41b6796a55a020520d13c6f7.zip
s4-attid: Uppercase ATTID type constants
Thanks Metze for noting this! Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 8 23:06:41 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/dsdb/schema/schema_prefixmap.c')
-rw-r--r--source4/dsdb/schema/schema_prefixmap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/dsdb/schema/schema_prefixmap.c b/source4/dsdb/schema/schema_prefixmap.c
index 18920500d6..371ec882ca 100644
--- a/source4/dsdb/schema/schema_prefixmap.c
+++ b/source4/dsdb/schema/schema_prefixmap.c
@@ -32,16 +32,16 @@
enum dsdb_attid_type dsdb_pfm_get_attid_type(uint32_t attid)
{
if (attid <= 0x7FFFFFFF) {
- return dsdb_attid_type_pfm;
+ return DSDB_ATTID_TYPE_PFM;
}
else if (attid <= 0xBFFFFFFF) {
- return dsdb_attid_type_intid;
+ return DSDB_ATTID_TYPE_INTID;
}
else if (attid <= 0xFFFEFFFF) {
- return dsdb_attid_type_reserved;
+ return DSDB_ATTID_TYPE_RESERVED;
}
else {
- return dsdb_attid_type_internal;
+ return DSDB_ATTID_TYPE_INTERNAL;
}
}
@@ -361,7 +361,7 @@ WERROR dsdb_schema_pfm_oid_from_attid(struct dsdb_schema_prefixmap *pfm, uint32_
WERROR werr = WERR_OK;
/* sanity check for attid requested */
- if (dsdb_pfm_get_attid_type(attid) != dsdb_attid_type_pfm) {
+ if (dsdb_pfm_get_attid_type(attid) != DSDB_ATTID_TYPE_PFM) {
return WERR_INVALID_PARAMETER;
}