mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-21 06:14:40 -05:00
Backout last change, it belongs in syntaxes, not attribute types
This commit is contained in:
parent
c1da50a426
commit
851e2de03d
1 changed files with 0 additions and 19 deletions
|
|
@ -402,7 +402,6 @@ at_add(
|
|||
Syntax *syn;
|
||||
int code;
|
||||
char *cname;
|
||||
LDAP_SCHEMA_EXTENSION_ITEM **ext;
|
||||
|
||||
if ( at->at_names && at->at_names[0] ) {
|
||||
cname = at->at_names[0];
|
||||
|
|
@ -448,8 +447,6 @@ at_add(
|
|||
sat->sat_equality = sat->sat_sup->sat_equality;
|
||||
sat->sat_ordering = sat->sat_sup->sat_ordering;
|
||||
sat->sat_substr = sat->sat_sup->sat_substr;
|
||||
sat->sat_binary = sat->sat_sup->sat_binary;
|
||||
sat->sat_not_h_r = sat->sat_sup->sat_not_h_r;
|
||||
}
|
||||
|
||||
if ( at->at_syntax_oid ) {
|
||||
|
|
@ -525,22 +522,6 @@ at_add(
|
|||
}
|
||||
}
|
||||
|
||||
if ( sat->sat_extensions ) {
|
||||
for ( ext = sat->sat_extensions; *ext; ext++ ) {
|
||||
if ( strcmp((*ext)->lsei_name, "X-BINARY-TRANSFER-REQUIRED") == 0 &&
|
||||
(*ext)->lsei_values &&
|
||||
(*ext)->lsei_values[0] &&
|
||||
strcasecmp((*ext)->lsei_values[0], "true") == 0 ) {
|
||||
sat->sat_binary = 1;
|
||||
} else if ( strcmp((*ext)->lsei_name, "X-NOT-HUMAN-READABLE") == 0 &&
|
||||
(*ext)->lsei_values &&
|
||||
(*ext)->lsei_values[0] &&
|
||||
strcasecmp((*ext)->lsei_values[0], "true") == 0 ) {
|
||||
sat->sat_not_h_r = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
code = at_insert(sat,err);
|
||||
return code;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue