summaryrefslogtreecommitdiff
path: root/ecp/src/vconn
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-08-31 22:20:15 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-31 22:20:15 +0200
commit2a33ef2344145e12f1eea96214cdb317857321c1 (patch)
tree1db9ce4e9c227c54595132edbce8adc65dd086ce /ecp/src/vconn
parent2a46bdf517eb5fcb8ba59c398a32859c6496475d (diff)
directory service added
Diffstat (limited to 'ecp/src/vconn')
-rw-r--r--ecp/src/vconn/vconn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp/src/vconn/vconn.c b/ecp/src/vconn/vconn.c
index 286a79a..56a2105 100644
--- a/ecp/src/vconn/vconn.c
+++ b/ecp/src/vconn/vconn.c
@@ -609,7 +609,7 @@ int ecp_vconn_init(ECPConnection *conn, ECPNode *conn_node, ECPVConnection vconn
ECPSocket *sock = conn->sock;
int i, rv;
- rv = ecp_conn_init(conn, conn_node);
+ rv = ecp_conn_set_remote(conn, conn_node);
if (rv) return rv;
conn->parent = (ECPConnection *)&vconn[size-1];
@@ -618,7 +618,7 @@ int ecp_vconn_init(ECPConnection *conn, ECPNode *conn_node, ECPVConnection vconn
rv = ecp_conn_create((ECPConnection *)&vconn[i], sock, ECP_CTYPE_VCONN);
if (rv) return rv;
- rv = ecp_conn_init((ECPConnection *)&vconn[i], &vconn_node[i]);
+ rv = ecp_conn_set_remote((ECPConnection *)&vconn[i], &vconn_node[i]);
if (rv) return rv;
if (i == 0) {