From bf0ead55678a7c5ed3e11a1b500bb83e7facf722 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 2 Aug 2023 09:36:16 +0200 Subject: implemented ROS recommendations --- ecp/test/init.c | 2 +- ecp/test/init_vconn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ecp/test') diff --git a/ecp/test/init.c b/ecp/test/init.c index 161742b..b0d91d1 100644 --- a/ecp/test/init.c +++ b/ecp/test/init.c @@ -22,6 +22,6 @@ static void conn_free(ECPConnection *conn) { int ecp_init(ECPContext *ctx) { int rv; - rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free); + rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free, NULL); return rv; } diff --git a/ecp/test/init_vconn.c b/ecp/test/init_vconn.c index b690bec..149b57a 100644 --- a/ecp/test/init_vconn.c +++ b/ecp/test/init_vconn.c @@ -47,7 +47,7 @@ static void conn_free(ECPConnection *conn) { int ecp_init(ECPContext *ctx, ECPConnHandler *vconn_handler, ECPConnHandler *vlink_handler) { int rv; - rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free); + rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free, NULL); if (rv) return rv; rv = ecp_vconn_handler_init(ctx, vconn_handler); -- cgit v1.2.3