mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Align with HEAD
This commit is contained in:
parent
bc22713855
commit
6dfc4700de
@ -809,7 +809,6 @@ ldap_pvt_tls_get_option( LDAP *ld, int option, void *arg )
|
||||
{
|
||||
struct ldapoptions *lo;
|
||||
|
||||
|
||||
if( ld != NULL ) {
|
||||
assert( LDAP_VALID( ld ) );
|
||||
|
||||
@ -822,7 +821,7 @@ ldap_pvt_tls_get_option( LDAP *ld, int option, void *arg )
|
||||
} else {
|
||||
/* Get pointer to global option structure */
|
||||
lo = LDAP_INT_GLOBAL_OPT();
|
||||
if( lo == NULL ) {
|
||||
if ( lo == NULL ) {
|
||||
return LDAP_NO_MEMORY;
|
||||
}
|
||||
}
|
||||
@ -882,7 +881,7 @@ ldap_pvt_tls_set_option( LDAP *ld, int option, void *arg )
|
||||
} else {
|
||||
/* Get pointer to global option structure */
|
||||
lo = LDAP_INT_GLOBAL_OPT();
|
||||
if( lo == NULL ) {
|
||||
if ( lo == NULL ) {
|
||||
return LDAP_NO_MEMORY;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user