]> git.sur5r.net Git - openldap/commitdiff
should fix ITS#3265
authorPierangelo Masarati <ando@openldap.org>
Thu, 12 Aug 2004 10:33:49 +0000 (10:33 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 12 Aug 2004 10:33:49 +0000 (10:33 +0000)
servers/slapd/connection.c

index 56253ce6f2004b1c37fae51ce97b4fa5fca095a0..b4b7c4e26410d2d2ab99e5eb63a828d9ad68e740 100644 (file)
@@ -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 */