summaryrefslogtreecommitdiff
path: root/ecp/test/init_vconn.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2024-05-11 15:58:48 +0200
committerUros Majstorovic <majstor@majstor.org>2024-05-11 15:58:48 +0200
commit7a0e44998f426752c58975ae686d8e88aa131195 (patch)
treeb410237e4d9986a06108e9c0beff015a97effc55 /ecp/test/init_vconn.c
parentb3c62e6acc5761171822f522dc9d784558f9afbe (diff)
added error handler per connection type; improved handlers API and error reporting
Diffstat (limited to 'ecp/test/init_vconn.c')
-rw-r--r--ecp/test/init_vconn.c2
1 files changed, 1 insertions, 1 deletions
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);