From 498fb8b691aaa62ec12b7326361140321c1a8220 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 4 Sep 2021 02:51:10 +0200 Subject: ecp fixed frag problems --- ecp/src/vconn/vconn.c | 4 ++-- ecp/src/vconn/vconn.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ecp/src/vconn') 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); diff --git a/ecp/src/vconn/vconn.h b/ecp/src/vconn/vconn.h index 9e9078c..12eae77 100644 --- a/ecp/src/vconn/vconn.h +++ b/ecp/src/vconn/vconn.h @@ -17,5 +17,5 @@ typedef struct ECPVConnIn { } ECPVConnIn; int ecp_vconn_ctx_init(ECPContext *ctx); -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); int ecp_vconn_open(ECPConnection *conn, ECPNode *conn_node, ECPVConnection vconn[], ECPNode vconn_node[], int size); -- cgit v1.2.3