From 02a5bdc60c9ff8474a959027882048290571f806 Mon Sep 17 00:00:00 2001 From: iphydf Date: Mon, 4 May 2020 00:40:59 +0100 Subject: Add logging to TCP and onion client. --- toxcore/net_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore/net_crypto.c') diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index 2851053b..f57886a8 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c @@ -2281,7 +2281,7 @@ unsigned int copy_connected_tcp_relays(Net_Crypto *c, Node_format *tcp_relays, u static void do_tcp(Net_Crypto *c, void *userdata) { pthread_mutex_lock(&c->tcp_mutex); - do_tcp_connections(c->tcp_c, userdata); + do_tcp_connections(c->log, c->tcp_c, userdata); pthread_mutex_unlock(&c->tcp_mutex); uint32_t i; -- cgit v1.2.3