From: Pierangelo Masarati Date: Thu, 12 Aug 2004 10:33:49 +0000 (+0000) Subject: should fix ITS#3265 X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~696 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bde0761a04f9d2c33b97773425aaceb470aed033;p=openldap should fix ITS#3265 --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 56253ce6f2..b4b7c4e264 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1175,7 +1175,7 @@ operations_error: return NULL; } -static const Listener dummy_list = { {0, ""}, {0, ""} }; +static const Listener dummy_list = { BER_BVC(""), BER_BVC("") }; int connection_client_setup( ber_socket_t s, @@ -1880,6 +1880,7 @@ connection_fake_init( conn->c_send_search_entry = slap_send_search_entry; conn->c_send_search_reference = slap_send_search_reference; conn->c_listener = (Listener *)&dummy_list; + conn->c_peer_domain = slap_empty_bv; conn->c_peer_name = slap_empty_bv; /* set memory context */