summaryrefslogtreecommitdiff
path: root/ecp/test/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/test/server.c')
-rw-r--r--ecp/test/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp/test/server.c b/ecp/test/server.c
index 003e3b3..0af41c6 100644
--- a/ecp/test/server.c
+++ b/ecp/test/server.c
@@ -43,7 +43,7 @@ int main(int argc, char *argv[]) {
rv = ecp_init(&ctx);
printf("ecp_init RV:%d\n", rv);
- ecp_conn_handler_init(&handler, handle_msg, NULL, NULL, NULL);
+ ecp_conn_handler_init(&handler, NULL, NULL, handle_msg, NULL);
ecp_ctx_set_handler(&ctx, CTYPE_TEST, &handler);
rv = ecp_util_load_key(argv[2], &key_perma.public, &key_perma.private);