Commit 3d4448cd authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Import ldaphost NULL fix from devel

parent ae32625f
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment