mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-19 21:32:58 -05:00
Fix typo: Scope "base" was only matched properly on 32-bit hosts.
This commit is contained in:
parent
28256b4711
commit
a043d4d356
1 changed files with 1 additions and 1 deletions
|
|
@ -466,7 +466,7 @@ handle_private_option( int i )
|
|||
++ldif;
|
||||
break;
|
||||
case 's': /* search scope */
|
||||
if ( strncasecmp( optarg, "base", sizeof("base"-1) ) == 0 ) {
|
||||
if ( strncasecmp( optarg, "base", sizeof("base")-1 ) == 0 ) {
|
||||
scope = LDAP_SCOPE_BASE;
|
||||
} else if ( strncasecmp( optarg, "one", sizeof("one")-1 ) == 0 ) {
|
||||
scope = LDAP_SCOPE_ONELEVEL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue