mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 22:50:51 -05:00
Even more LDAP_PORT depends.
This commit is contained in:
parent
40cb8d54c8
commit
c0366d3c3b
2 changed files with 2 additions and 2 deletions
|
|
@ -339,7 +339,7 @@ parse_replica_line(
|
|||
ri->ri_port = atoi( hp );
|
||||
}
|
||||
if ( ri->ri_port <= 0 ) {
|
||||
ri->ri_port = LDAP_PORT;
|
||||
ri->ri_port = 0;
|
||||
}
|
||||
ri->ri_hostname = strdup( val );
|
||||
gots |= GOT_HOST;
|
||||
|
|
|
|||
|
|
@ -293,7 +293,7 @@ get_repl_hosts(
|
|||
if ( str_parse_line( line, &type, &value, &len ) < 0 ) {
|
||||
return( NULL );
|
||||
}
|
||||
port = LDAP_PORT;
|
||||
port = 0;
|
||||
if (( p = strchr( value, ':' )) != NULL ) {
|
||||
*p = '\0';
|
||||
p++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue