From 8223663865853ef48095fe94f2bc071dcee82fcc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 12 May 2005 23:38:59 +0000 Subject: [PATCH] Fix typo --- servers/slapd/controls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index 27fe43f1c6..4891563ea8 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -139,8 +139,8 @@ static struct slap_control control_defs[] = { SLAP_CTRL_HIDE|SLAP_CTRL_DELETE, NULL, parseTreeDelete, LDAP_SLIST_ENTRY_INITIALIZER(next) }, #endif -#ifdef LDAP_CONTORL_X_SEARCH_OPTIONS - { LDAP_CONTORL_X_SEARCH_OPTIONS, +#ifdef LDAP_CONTROL_X_SEARCH_OPTIONS + { LDAP_CONTROL_X_SEARCH_OPTIONS, (int)offsetof(struct slap_control_ids, sc_searchOptions), SLAP_CTRL_GLOBAL|SLAP_CTRL_SEARCH, NULL, parseSearchOptions, LDAP_SLIST_ENTRY_INITIALIZER(next) }, @@ -1316,7 +1316,7 @@ static int parseTreeDelete ( } #endif -#ifdef LDAP_CONTORL_X_SEARCH_OPTIONS +#ifdef LDAP_CONTROL_X_SEARCH_OPTIONS static int parseSearchOptions ( Operation *op, SlapReply *rs, -- 2.39.5