From ab0325ae7906230f1ea82f08b27c72b075e9a13d Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Tue, 23 May 2017 17:28:12 +0200 Subject: build fixed; added lib util --- code/test/stress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/test/stress.c') diff --git a/code/test/stress.c b/code/test/stress.c index 808611e..41883c2 100644 --- a/code/test/stress.c +++ b/code/test/stress.c @@ -209,7 +209,7 @@ int main(int argc, char *argv[]) { strcpy(addr, "127.0.0.1:"); sprintf(addr+strlen(addr), "%d", 3000 + (i % num_s)); - if (!rv) rv = ecp_node_init(&ctx_c[i], &node[i], addr, &key_perma_s.public); + if (!rv) rv = ecp_node_init(&ctx_c[i], &node[i], &key_perma_s.public, addr); if (!rv) rv = ecp_conn_create(&conn[i], &sock_c[i], CTYPE_TEST); conn[i].conn_data = (void *)i; -- cgit v1.2.3