From 3e50c4990f4703e2c04d0f959d33e36504d43716 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 20 Jan 2018 19:14:12 +0100 Subject: fixed vconn interface --- code/ecp/vconn/vconn.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'code/ecp/vconn/vconn.c') diff --git a/code/ecp/vconn/vconn.c b/code/ecp/vconn/vconn.c index a11f8fd..9980855 100644 --- a/code/ecp/vconn/vconn.c +++ b/code/ecp/vconn/vconn.c @@ -513,9 +513,12 @@ static ssize_t vconn_pack_raw(ECPSocket *sock, ECPConnection *parent, ECPBuffer } */ -int ecp_ctx_vconn_init(ECPContext *ctx) { +int ecp_ctx_create_vconn(ECPContext *ctx) { int rv; + rv = ecp_ctx_create(ctx); + if (rv) return rv; + rv = ecp_conn_handler_init(&handler_vc); if (rv) return rv; -- cgit v1.2.3