summaryrefslogtreecommitdiff
path: root/code/test/stress.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-05-23 17:28:12 +0200
committerUros Majstorovic <majstor@majstor.org>2017-05-23 17:28:12 +0200
commitab0325ae7906230f1ea82f08b27c72b075e9a13d (patch)
tree5a292826fdea4db2c86b2d82b80fa489c6c131c7 /code/test/stress.c
parent3ef6719f47b734b12c0b11c725b7f12e3fb3c08a (diff)
build fixed; added lib util
Diffstat (limited to 'code/test/stress.c')
-rw-r--r--code/test/stress.c2
1 files changed, 1 insertions, 1 deletions
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;