forked from agorise/c-ipfs
Make sure don't crash if ipfs_routing_new_kademlia fails.
This commit is contained in:
parent
13b8b8bf27
commit
297283168c
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ int test_routing_supernode_get_remote_value() {
|
||||||
size_t hash_size = 100;
|
size_t hash_size = 100;
|
||||||
unsigned char hash[hash_size];
|
unsigned char hash[hash_size];
|
||||||
unsigned char* hash_ptr = &hash[0];
|
unsigned char* hash_ptr = &hash[0];
|
||||||
struct Libp2pVector* multiaddresses;
|
struct Libp2pVector* multiaddresses = NULL;
|
||||||
struct MultiAddress* addr = NULL;
|
struct MultiAddress* addr = NULL;
|
||||||
char* ip = NULL;
|
char* ip = NULL;
|
||||||
struct SessionContext context;
|
struct SessionContext context;
|
||||||
|
|
Loading…
Reference in a new issue