This commit is contained in:
Howard Chu 2005-05-12 23:38:59 +00:00
parent c4cfe03619
commit 8223663865

View file

@ -139,8 +139,8 @@ static struct slap_control control_defs[] = {
SLAP_CTRL_HIDE|SLAP_CTRL_DELETE, NULL, SLAP_CTRL_HIDE|SLAP_CTRL_DELETE, NULL,
parseTreeDelete, LDAP_SLIST_ENTRY_INITIALIZER(next) }, parseTreeDelete, LDAP_SLIST_ENTRY_INITIALIZER(next) },
#endif #endif
#ifdef LDAP_CONTORL_X_SEARCH_OPTIONS #ifdef LDAP_CONTROL_X_SEARCH_OPTIONS
{ LDAP_CONTORL_X_SEARCH_OPTIONS, { LDAP_CONTROL_X_SEARCH_OPTIONS,
(int)offsetof(struct slap_control_ids, sc_searchOptions), (int)offsetof(struct slap_control_ids, sc_searchOptions),
SLAP_CTRL_GLOBAL|SLAP_CTRL_SEARCH, NULL, SLAP_CTRL_GLOBAL|SLAP_CTRL_SEARCH, NULL,
parseSearchOptions, LDAP_SLIST_ENTRY_INITIALIZER(next) }, parseSearchOptions, LDAP_SLIST_ENTRY_INITIALIZER(next) },
@ -1316,7 +1316,7 @@ static int parseTreeDelete (
} }
#endif #endif
#ifdef LDAP_CONTORL_X_SEARCH_OPTIONS #ifdef LDAP_CONTROL_X_SEARCH_OPTIONS
static int parseSearchOptions ( static int parseSearchOptions (
Operation *op, Operation *op,
SlapReply *rs, SlapReply *rs,