From: Howard Chu Date: Thu, 12 May 2005 23:38:59 +0000 (+0000) Subject: Fix typo X-Git-Tag: OPENLDAP_AC_BP~655 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8223663865853ef48095fe94f2bc071dcee82fcc;p=openldap Fix typo --- 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,