mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
This commit is contained in:
parent
cc79022b71
commit
b295d66a2c
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ ldap_new_connection( LDAP *ld, LDAPURLDesc *srvlist, int use_ldsb,
|
|||
}
|
||||
|
||||
if ( use_ldsb ) {
|
||||
assert( ld->ld_sb );
|
||||
assert( ld->ld_sb != NULL );
|
||||
lc->lconn_sb = ld->ld_sb;
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue