From: Saverio Proto Date: Tue, 17 Jun 2014 16:49:59 +0000 (+0200) Subject: Finally no more segmentation faults using invitations :) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=d170c55f4bff125e7b88ed1b8e3cbd26bfed3e59;p=meshlink Finally no more segmentation faults using invitations :) --- 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;