summaryrefslogtreecommitdiff
path: root/ecp/src/vconn/vconn.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-09-04 02:51:10 +0200
committerUros Majstorovic <majstor@majstor.org>2021-09-04 02:51:10 +0200
commit498fb8b691aaa62ec12b7326361140321c1a8220 (patch)
treef6f5a21f0a04cffef8977c822785ac5da687d470 /ecp/src/vconn/vconn.c
parentb98a39ddae6a9cd002465bd46c19a1cb9285174b (diff)
ecp fixed frag problems
Diffstat (limited to 'ecp/src/vconn/vconn.c')
-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 56a2105..c414454 100644
--- a/ecp/src/vconn/vconn.c
+++ b/ecp/src/vconn/vconn.c
@@ -605,7 +605,7 @@ int ecp_vconn_ctx_init(ECPContext *ctx) {
return ECP_OK;
}
-int ecp_vconn_init(ECPConnection *conn, ECPNode *conn_node, ECPVConnection vconn[], ECPNode vconn_node[], int size) {
+int ecp_vconn_set_remote(ECPConnection *conn, ECPNode *conn_node, ECPVConnection vconn[], ECPNode vconn_node[], int size) {
ECPSocket *sock = conn->sock;
int i, rv;
@@ -657,7 +657,7 @@ int ecp_vconn_open(ECPConnection *conn, ECPNode *conn_node, ECPVConnection vconn
int rv;
ssize_t _rv;
- rv = ecp_vconn_init(conn, conn_node, vconn, vconn_node, size);
+ rv = ecp_vconn_set_remote(conn, conn_node, vconn, vconn_node, size);
if (rv) return rv;
_rv = ecp_timer_send((ECPConnection *)&vconn[0], _vconn_send_kget, ECP_MTYPE_KGET_REP, 3, 500);