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/vc_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecp/test/vc_client.c') diff --git a/ecp/test/vc_client.c b/ecp/test/vc_client.c index af4a3cd..d157081 100644 --- a/ecp/test/vc_client.c +++ b/ecp/test/vc_client.c @@ -54,7 +54,7 @@ int main(int argc, char *argv[]) { rv = ecp_init(&ctx, &vconn_handler, &vlink_handler); printf("ecp_init RV:%d\n", rv); - ecp_conn_handler_init(&handler, handle_msg, handle_open, NULL, NULL); + ecp_conn_handler_init(&handler, handle_open, NULL, handle_msg, NULL); ecp_ctx_set_handler(&ctx, CTYPE_TEST, &handler); rv = ecp_dhkey_gen(&key_perma); -- cgit v1.2.3