From 656b0b50b7dd0d1f21d4d304ebd6912cdcdc826c Mon Sep 17 00:00:00 2001 From: John Jones Date: Thu, 13 Jul 2017 18:32:40 -0500 Subject: [PATCH] Now we can connect using secio. --- core/null.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/null.c b/core/null.c index 7c3baf8..c13240e 100644 --- a/core/null.c +++ b/core/null.c @@ -61,7 +61,7 @@ void ipfs_null_connection (void *ptr) libp2p_logger_log("null", LOGLEVEL_INFO, "Connection %d, count %d\n", connection_param->file_descriptor, *(connection_param->count)); - if (libp2p_net_multistream_negotiate(session.insecure_stream)) { + if (libp2p_net_multistream_negotiate(session)) { for(;;) { // check if they're looking for an upgrade (i.e. secio)