summaryrefslogtreecommitdiff
path: root/ecp/test/vc_inb.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/test/vc_inb.c')
-rw-r--r--ecp/test/vc_inb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp/test/vc_inb.c b/ecp/test/vc_inb.c
index 825d948..0c75c5d 100644
--- a/ecp/test/vc_inb.c
+++ b/ecp/test/vc_inb.c
@@ -87,10 +87,10 @@ 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(&dir_handler, handle_dir_msg, ecp_dir_handle_open, NULL, NULL);
+ ecp_conn_handler_init(&dir_handler, ecp_dir_handle_open, NULL, handle_dir_msg, NULL);
ecp_ctx_set_handler(&ctx, ECP_CTYPE_DIR, &dir_handler);
- 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);