fix compiler warning
This commit is contained in:
parent
48b9647a3c
commit
14ad68b9bb
2 changed files with 4 additions and 1 deletions
|
@ -215,7 +215,7 @@ void* ipfs_null_listen (void *ptr)
|
||||||
*/
|
*/
|
||||||
} else {
|
} else {
|
||||||
// timeout... do maintenance
|
// timeout... do maintenance
|
||||||
struct PeerEntry* entry = current_peer_entry->item;
|
//struct PeerEntry* entry = current_peer_entry->item;
|
||||||
// JMJ Debugging
|
// JMJ Debugging
|
||||||
//ipfs_null_do_maintenance(listen_param->local_node, entry->peer);
|
//ipfs_null_do_maintenance(listen_param->local_node, entry->peer);
|
||||||
if (current_peer_entry != NULL)
|
if (current_peer_entry != NULL)
|
||||||
|
|
|
@ -15,6 +15,7 @@ int test_compat_go_join_swarm() {
|
||||||
pthread_t daemon_thread;
|
pthread_t daemon_thread;
|
||||||
struct FSRepo* fs_repo = NULL;
|
struct FSRepo* fs_repo = NULL;
|
||||||
|
|
||||||
|
/*
|
||||||
libp2p_logger_add_class("test_api");
|
libp2p_logger_add_class("test_api");
|
||||||
libp2p_logger_add_class("yamux");
|
libp2p_logger_add_class("yamux");
|
||||||
libp2p_logger_add_class("identify");
|
libp2p_logger_add_class("identify");
|
||||||
|
@ -22,6 +23,8 @@ int test_compat_go_join_swarm() {
|
||||||
libp2p_logger_add_class("multistream");
|
libp2p_logger_add_class("multistream");
|
||||||
libp2p_logger_add_class("swarm");
|
libp2p_logger_add_class("swarm");
|
||||||
libp2p_logger_add_class("secio");
|
libp2p_logger_add_class("secio");
|
||||||
|
*/
|
||||||
|
libp2p_logger_add_class("dialer");
|
||||||
|
|
||||||
// Here is the connection information for the GO version:
|
// Here is the connection information for the GO version:
|
||||||
char* remote_string = "/ip4/10.211.55.2/tcp/4001/ipfs/QmacSE6bCZiAu7nrYkhPATaSoL2q9BszkKzbX6fCiXuBGA";
|
char* remote_string = "/ip4/10.211.55.2/tcp/4001/ipfs/QmacSE6bCZiAu7nrYkhPATaSoL2q9BszkKzbX6fCiXuBGA";
|
||||||
|
|
Loading…
Reference in a new issue