]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/connection.c
add logs; fix bug in group/dn selection logic
[openldap] / servers / slapd / connection.c
index 5fe614e50a98f1d2b8aaf23678a451a5b0b60703..ffcb0312c584ffb32246582326acf12961ffe0f8 100644 (file)
@@ -1176,7 +1176,7 @@ int connection_client_setup(
 {
        Connection *c;
 
-       if ( connection_init( s, &dummy_list, "", "", CONN_IS_CLIENT, 0, NULL ) < 0 ) {
+       if ( connection_init( s, (Listener *)&dummy_list, "", "", CONN_IS_CLIENT, 0, NULL ) < 0 ) {
                return -1;
        }
 
@@ -1318,7 +1318,7 @@ int connection_read(ber_socket_t s)
 
                } else if ( rc == 0 ) {
                        void *ssl;
-                       struct berval authid = { 0, NULL };
+                       struct berval authid = BER_BVNULL;
 
                        c->c_needs_tls_accept = 0;