From: Pierangelo Masarati Date: Thu, 3 Aug 2006 01:15:41 +0000 (+0000) Subject: fix uri rewriting X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~34 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4f395ab4ffe51f3e0ed1bc5a96f3fb164518eaa2;p=openldap fix uri rewriting --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index f2334d7d68..ada0f53d21 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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 {