summaryrefslogtreecommitdiff
path: root/ecp/test/vc_server.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/vc_server.c
parentb3c62e6acc5761171822f522dc9d784558f9afbe (diff)
added error handler per connection type; improved handlers API and error reporting
Diffstat (limited to 'ecp/test/vc_server.c')
-rw-r--r--ecp/test/vc_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp/test/vc_server.c b/ecp/test/vc_server.c
index daf35f8..b664a1c 100644
--- a/ecp/test/vc_server.c
+++ b/ecp/test/vc_server.c
@@ -53,7 +53,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_util_load_key(argv[1], &key_perma.public, &key_perma.private);