Import ldaphost NULL fix from devel

This commit is contained in:
Kurt Zeilenga 2000-06-10 18:30:06 +00:00
parent ae32625fd2
commit 3d4448cd08

View file

@ -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;
}