mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Import ldaphost NULL fix from devel
This commit is contained in:
parent
ae32625fd2
commit
3d4448cd08
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ process_ldif_rec( char *rbuf )
|
|||
*p++ = '\0';
|
||||
replicaport = atoi( p );
|
||||
}
|
||||
if ( strcasecmp( value, ldaphost ) == 0 &&
|
||||
if ( ldaphost != NULL && strcasecmp( value, ldaphost ) == 0 &&
|
||||
replicaport == ldapport ) {
|
||||
use_record = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue