mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Fix prev commit
This commit is contained in:
parent
47560a77c7
commit
a6933cae27
@ -1024,7 +1024,10 @@ ldap_int_sasl_get_option( LDAP *ld, int option, void *arg )
|
||||
int
|
||||
ldap_int_sasl_set_option( LDAP *ld, int option, void *arg )
|
||||
{
|
||||
if ( ld == NULL || arg == NULL )
|
||||
if ( ld == NULL )
|
||||
return -1;
|
||||
|
||||
if ( arg == NULL && option != LDAP_OPT_X_SASL_NOCANON )
|
||||
return -1;
|
||||
|
||||
switch ( option ) {
|
||||
|
Loading…
Reference in New Issue
Block a user