mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
fix uri rewriting
This commit is contained in:
parent
da1e743491
commit
4f395ab4ff
@ -2665,7 +2665,7 @@ config_replica(ConfigArgs *c) {
|
||||
}
|
||||
replicauri = ch_malloc( len );
|
||||
replicahost = lutil_strcopy( replicauri, ludp->lud_scheme );
|
||||
replicahost = lutil_strcopy( replicauri, "://" );
|
||||
replicahost = lutil_strcopy( replicahost, "://" );
|
||||
if (ludp->lud_port == LDAP_PORT) {
|
||||
strcpy( replicahost, ludp->lud_host );
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user