summaryrefslogtreecommitdiff
path: root/ecp/test/basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/test/basic.c')
-rw-r--r--ecp/test/basic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp/test/basic.c b/ecp/test/basic.c
index 637a829..2e6bfd0 100644
--- a/ecp/test/basic.c
+++ b/ecp/test/basic.c
@@ -55,7 +55,7 @@ int main(int argc, char *argv[]) {
rv = ecp_init(&ctx_s);
printf("ecp_init RV:%d\n", rv);
- ecp_conn_handler_init(&handler_s, handle_msg_s, NULL, NULL, NULL);
+ ecp_conn_handler_init(&handler_s, NULL, NULL, handle_msg_s, NULL);
ecp_ctx_set_handler(&ctx_s, CTYPE_TEST, &handler_s);
rv = ecp_dhkey_gen(&key_perma_s);
@@ -77,7 +77,7 @@ int main(int argc, char *argv[]) {
rv = ecp_init(&ctx_c);
printf("ecp_init RV:%d\n", rv);
- ecp_conn_handler_init(&handler_c, handle_msg_c, handle_open_c, NULL, NULL);
+ ecp_conn_handler_init(&handler_c, handle_open_c, NULL, handle_msg_c, NULL);
ecp_ctx_set_handler(&ctx_c, CTYPE_TEST, &handler_c);
rv = ecp_dhkey_gen(&key_perma_c);