summaryrefslogtreecommitdiff
path: root/ecp/test/vc_outb.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/test/vc_outb.c')
-rw-r--r--ecp/test/vc_outb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp/test/vc_outb.c b/ecp/test/vc_outb.c
index cc772d5..4b14244 100644
--- a/ecp/test/vc_outb.c
+++ b/ecp/test/vc_outb.c
@@ -89,10 +89,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_dhkey_gen(&key_perma);