]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Thu, 21 Apr 2005 22:57:49 +0000 (22:57 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 21 Apr 2005 22:57:49 +0000 (22:57 +0000)
servers/slapd/back-monitor/conn.c

index 549c72c880f5c7db311f26175df955674e0b6639..e6a240990dd9a78faf8b4e836449eb32510246b7 100644 (file)
@@ -391,11 +391,11 @@ conn_create(
 
        /* local address */
        attr_merge_one( e, mi->mi_ad_monitorConnectionLocalAddress,
-                       &c->c_sock_name, &bv );
+                       &c->c_sock_name, &c->c_sock_name );
 
        /* peer address */
        attr_merge_one( e, mi->mi_ad_monitorConnectionPeerAddress,
-                       &c->c_peer_name, &bv );
+                       &c->c_peer_name, &c->c_peer_name );
 
        mp = monitor_entrypriv_create();
        if ( mp == NULL ) {