From 7a0e44998f426752c58975ae686d8e88aa131195 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 11 May 2024 15:58:48 +0200 Subject: added error handler per connection type; improved handlers API and error reporting --- ecp/test/init_vconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecp/test/init_vconn.c') diff --git a/ecp/test/init_vconn.c b/ecp/test/init_vconn.c index 3393a16..ba72c01 100644 --- a/ecp/test/init_vconn.c +++ b/ecp/test/init_vconn.c @@ -51,7 +51,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, NULL); + rv = ecp_ctx_init(ctx, NULL, conn_new, conn_free, handle_err); if (rv) return rv; rv = ecp_vconn_handler_init(ctx, vconn_handler); -- cgit v1.2.3