From d170c55f4bff125e7b88ed1b8e3cbd26bfed3e59 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Tue, 17 Jun 2014 18:49:59 +0200 Subject: [PATCH] Finally no more segmentation faults using invitations :) --- src/meshlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meshlink.c b/src/meshlink.c index 2e6a37cc..44ea0b70 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -741,6 +741,7 @@ meshlink_handle_t *meshlink_open(const char *confbase, const char *name) { mesh->self->connection = new_connection(); if(!read_ecdsa_private_key(mesh)) return false; + init_nodes(mesh); pthread_mutex_init ( &(mesh->outpacketqueue_mutex), NULL); pthread_mutex_init ( &(mesh->nodes_mutex), NULL); mesh->threadstarted = false; -- 2.39.5