From 4f395ab4ffe51f3e0ed1bc5a96f3fb164518eaa2 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 3 Aug 2006 01:15:41 +0000 Subject: [PATCH] fix uri rewriting --- servers/slapd/bconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5