mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-18 15:20:35 +08:00
Fix typo: Scope "base" was only matched properly on 32-bit hosts.
This commit is contained in:
parent
28256b4711
commit
a043d4d356
@ -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…
x
Reference in New Issue
Block a user